Commit Graph

740 Commits

Author SHA1 Message Date
Florian Giroud
1df51b6b58
Speed-up testing time for Cypress in CI/CD (#4042)
* Added an environment variable to disable projects cleanup on CI/CD, improve performances

* revert DISABLE_PROJECT_CLEANUP to be 0 by default

Co-authored-by: Kush Trivedi <44091822+kushthedude@users.noreply.github.com>
2021-07-08 14:13:55 +02:00
Florian Giroud
423715d3ca
Improved notification checking, improved reconciliation tests to improve flakiness rate (#4041) 2021-07-08 12:03:28 +02:00
dependabot[bot]
aba5f7ff10
build(deps-dev): bump eslint in /main/tests/cypress (#4038)
Bumps [eslint](https://github.com/eslint/eslint) from 7.29.0 to 7.30.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.29.0...v7.30.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Florian Giroud <6267288+fgiroud@users.noreply.github.com>
2021-07-07 11:34:08 +02:00
dependabot[bot]
0d43c01eae
build(deps-dev): bump prettier in /main/tests/cypress (#4022)
Bumps [prettier](https://github.com/prettier/prettier) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.3.1...2.3.2)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-29 02:25:55 +05:30
Florian Giroud
91440b4cfb
Tests stability (#4014)
* Cypress 7.5 now redirects properly, removed doCreateProjectThroughUserInterface method

* temporarily changed CI

* temporarily changed CI

* Fixed an invalid call to a method that doesn't exist, fixed importing tutorial tests

* Fixed row_records test

* Attempt to fix flaky tests by improving the way we check for notifications

* disabledf scatterplot testing

* Attempt to fix flaky tests

* force CI

* force CI

* force CI

* force CI, edge

* attempt to fix flaky tests

* Attempt to fix flaky tests

* CI

* fastfix

* Code cleaning & linting

* Removed temporary edit of CI/CD

* revert debug edit of test files
2021-06-26 16:15:28 +05:30
dependabot[bot]
4f028cb72e
build(deps): bump cypress from 7.2.0 to 7.5.0 in /main/tests/cypress (#3970)
Bumps [cypress](https://github.com/cypress-io/cypress) from 7.2.0 to 7.5.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v7.2.0...v7.5.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-23 09:32:39 +02:00
dependabot[bot]
c7eb964b35
build(deps-dev): bump eslint in /main/tests/cypress (#4002)
Bumps [eslint](https://github.com/eslint/eslint) from 7.28.0 to 7.29.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.28.0...v7.29.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-22 14:11:11 +02:00
dependabot[bot]
144586cfc4
build(deps): bump cypress-file-upload in /main/tests/cypress (#4003)
Bumps [cypress-file-upload](https://github.com/abramenal/cypress-file-upload) from 5.0.7 to 5.0.8.
- [Release notes](https://github.com/abramenal/cypress-file-upload/releases)
- [Commits](https://github.com/abramenal/cypress-file-upload/compare/v5.0.7...v5.0.8)

---
updated-dependencies:
- dependency-name: cypress-file-upload
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-22 14:10:51 +02:00
dependabot[bot]
5c891e6ad7
build(deps-dev): bump prettier in /main/tests/cypress (#3968)
Bumps [prettier](https://github.com/prettier/prettier) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.3.0...2.3.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-07 10:51:44 +02:00
dependabot[bot]
1543c53046
build(deps-dev): bump jsdoc from 3.6.6 to 3.6.7 in /main/tests/cypress (#3914)
Bumps [jsdoc](https://github.com/jsdoc/jsdoc) from 3.6.6 to 3.6.7.
- [Release notes](https://github.com/jsdoc/jsdoc/releases)
- [Changelog](https://github.com/jsdoc/jsdoc/blob/3.6.7/CHANGES.md)
- [Commits](https://github.com/jsdoc/jsdoc/compare/3.6.6...3.6.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-07 09:30:08 +02:00
dependabot[bot]
cfe00de6c2
build(deps-dev): bump eslint in /main/tests/cypress (#3969)
Bumps [eslint](https://github.com/eslint/eslint) from 7.27.0 to 7.28.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.27.0...v7.28.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-07 09:18:50 +02:00
Warpeas
fed23ec7f6
fixes #3462 (#3921)
Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
2021-05-30 22:24:06 +02:00
Florian Giroud
bd9b268dea
Cypress parallel manual (#3922)
Implemented parallelism fo Cypress Tests
2021-05-27 15:18:20 +02:00
Warpeas
3adc03c0db
fixe rotation parsing in scatterplot facet (#3926)
* fixes #3344

* Remove try/catch block no longer useful
2021-05-26 14:08:42 +02:00
dependabot[bot]
dd4eb781e1
build(deps): bump dotenv from 9.0.2 to 10.0.0 in /main/tests/cypress (#3932)
Bumps [dotenv](https://github.com/motdotla/dotenv) from 9.0.2 to 10.0.0.
- [Release notes](https://github.com/motdotla/dotenv/releases)
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v9.0.2...v10.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kush Trivedi <44091822+kushthedude@users.noreply.github.com>
2021-05-26 07:05:40 +02:00
dependabot[bot]
13b6f4f93b
build(deps-dev): bump eslint in /main/tests/cypress (#3933)
Bumps [eslint](https://github.com/eslint/eslint) from 7.26.0 to 7.27.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.26.0...v7.27.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kush Trivedi <44091822+kushthedude@users.noreply.github.com>
2021-05-25 23:57:18 +05:30
Kush Trivedi
c162c9ca17
feat: add tests for tutorial 1,2,3 (#3796)
* feat: add tests for tutorial 1,2,3

Signed-off-by: kushthedude <kushthedude@gmail.com>

* fix

Signed-off-by: kushthedude <kushthedude@gmail.com>

* fix: create csv method and add tutorial 3

Signed-off-by: kushthedude <kushthedude@gmail.com>

* fox

Signed-off-by: kushthedude <kushthedude@gmail.com>

* fix: requested changes

Signed-off-by: kushthedude <kushthedude@gmail.com>

Co-authored-by: Florian Giroud <6267288+fgiroud@users.noreply.github.com>
2021-05-20 14:45:39 +02:00
Antonin Delpeuch
e664712a70
Make schema evaluation null-proof; avoid adding null values in data extension. (#3723)
Null values in non-null cells should normally not happen, but sometimes they do and
we shouldn't fail miserably in those cases.

Closes #2880.

Co-authored-by: Tom Morris <tfmorris@gmail.com>
2021-05-15 08:51:26 +02:00
Antonin Delpeuch
787c272fe0
Fix date parsing for XLS and ODS files to avoid timezone-dependency. (#3825)
Closes #3740.
2021-05-15 08:51:04 +02:00
Florian Giroud
56f910f7db
Reconciliation tests (#3777)
* Reconciliation tests PoC

* removed debug statement

* Added more reconciliation tests

* Fixed typo

* Fixed reconciliation test

* test disabling error handling, troubleshooting

* Attempt to fix flaky integration tests

* restored error handling, fixed flaky test

* Attempt to fix flaly test

* Attempt to fix flaky tests
2021-05-13 14:08:55 +02:00
dependabot[bot]
99780057e7
build(deps): bump dotenv from 9.0.0 to 9.0.2 in /main/tests/cypress (#3898)
Bumps [dotenv](https://github.com/motdotla/dotenv) from 9.0.0 to 9.0.2.
- [Release notes](https://github.com/motdotla/dotenv/releases)
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v9.0.0...v9.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kush Trivedi <44091822+kushthedude@users.noreply.github.com>
2021-05-11 15:18:33 +05:30
dependabot[bot]
574ac82c5a
build(deps-dev): bump eslint in /main/tests/cypress (#3894)
Bumps [eslint](https://github.com/eslint/eslint) from 7.24.0 to 7.26.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.24.0...v7.26.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kush Trivedi <44091822+kushthedude@users.noreply.github.com>
2021-05-11 15:17:54 +05:30
dependabot[bot]
897bfa5308
build(deps-dev): bump prettier in /main/tests/cypress (#3896)
Bumps [prettier](https://github.com/prettier/prettier) from 2.2.1 to 2.3.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.2.1...2.3.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-11 15:17:31 +05:30
dependabot[bot]
a345c67c9a
build(deps-dev): bump eslint-plugin-cypress in /main/tests/cypress (#3880)
Bumps [eslint-plugin-cypress](https://github.com/cypress-io/eslint-plugin-cypress) from 2.11.2 to 2.11.3.
- [Release notes](https://github.com/cypress-io/eslint-plugin-cypress/releases)
- [Commits](https://github.com/cypress-io/eslint-plugin-cypress/compare/v2.11.2...v2.11.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kush Trivedi <44091822+kushthedude@users.noreply.github.com>
2021-05-08 00:13:48 +05:30
dependabot[bot]
f4d0f8ef7e
build(deps): bump dotenv from 8.2.0 to 9.0.0 in /main/tests/cypress (#3883)
Bumps [dotenv](https://github.com/motdotla/dotenv) from 8.2.0 to 9.0.0.
- [Release notes](https://github.com/motdotla/dotenv/releases)
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v8.2.0...v9.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kush Trivedi <44091822+kushthedude@users.noreply.github.com>
2021-05-08 00:08:04 +05:30
dependabot[bot]
cfff1d8b7c
build(deps): bump cypress-file-upload in /main/tests/cypress (#3873)
Bumps [cypress-file-upload](https://github.com/abramenal/cypress-file-upload) from 5.0.3 to 5.0.7.
- [Release notes](https://github.com/abramenal/cypress-file-upload/releases)
- [Commits](https://github.com/abramenal/cypress-file-upload/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-04 11:30:22 +02:00
dependabot[bot]
b59ff650db
build(deps): bump fs-extra from 9.1.0 to 10.0.0 in /main/tests/cypress (#3874)
Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 9.1.0 to 10.0.0.
- [Release notes](https://github.com/jprichardson/node-fs-extra/releases)
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jprichardson/node-fs-extra/compare/9.1.0...10.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-04 11:30:11 +02:00
dependabot[bot]
66d45f55b9
build(deps): bump cypress from 7.1.0 to 7.2.0 in /main/tests/cypress (#3851)
Bumps [cypress](https://github.com/cypress-io/cypress) from 7.1.0 to 7.2.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v7.1.0...v7.2.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kush Trivedi <44091822+kushthedude@users.noreply.github.com>
2021-05-01 18:11:35 +05:30
Florian Giroud
e3a3a9c0f5
Fixed failing test "edit all column / fill down" (#3814) 2021-04-15 21:25:26 +02:00
dependabot[bot]
5640ada759
build(deps-dev): bump eslint-config-prettier in /main/tests/cypress (#3815)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.1.0 to 8.2.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.1.0...v8.2.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
2021-04-14 22:06:53 +02:00
dependabot[bot]
acc68187cb
build(deps): bump cypress from 6.8.0 to 7.1.0 in /main/tests/cypress (#3813)
Bumps [cypress](https://github.com/cypress-io/cypress) from 6.8.0 to 7.1.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v6.8.0...v7.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-13 22:42:00 +02:00
dependabot[bot]
d459a395f9
build(deps-dev): bump eslint in /main/tests/cypress (#3808)
Bumps [eslint](https://github.com/eslint/eslint) from 7.23.0 to 7.24.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.23.0...v7.24.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-12 20:44:36 +02:00
dependabot[bot]
4cb73181cb
build(deps-dev): bump eslint in /main/tests/cypress (#3775)
Bumps [eslint](https://github.com/eslint/eslint) from 7.22.0 to 7.23.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.22.0...v7.23.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
Co-authored-by: Tom Morris <tfmorris@gmail.com>
2021-04-12 08:54:19 +02:00
Kush Trivedi
182f70729d
feat: add tests for special column All (#3769)
* feat: add tests for special column All
2021-04-11 21:41:05 +02:00
Florian Giroud
2f5c765b4d
Added functional tests for scatterplot facets
* Added test for scatterplots
* Enriched test docs with a section on visual testing

Co-authored-by: Kush Trivedi <44091822+kushthedude@users.noreply.github.com>
2021-04-11 21:05:27 +02:00
Kush Trivedi
8369a10cfd
fix: Added an error handling to reduce the number of errors (flaky tests) in integration tests
Signed-off-by: kushthedude <kushthedude@gmail.com>

Co-authored-by: Florian Giroud <6267288+fgiroud@users.noreply.github.com>
2021-04-10 19:37:51 +02:00
Antonin Delpeuch
577caabec1
Add exponential backoff retries for reconciliation calls. (#3770)
* Update test to demonstrate retry mechanism for recon queries.

This was fixed earlier by #3237. Closes #3369.

* Ensure non-zero retry interval in HttpClient

* Restore original bound
2021-04-01 17:10:17 +02:00
Kush Trivedi
804e3a34e8
Fixed flaky integration test (#3768)
fix: detached element from dom in row_record_spec (#3768)
Signed-off-by: kushthedude <kushthedude@gmail.com>

Co-authored-by: Florian Giroud <6267288+fgiroud@users.noreply.github.com>
2021-03-30 11:53:16 +02:00
Kush Trivedi
1f9d1252a5
fix: flaky create_project multiple url test (#3767)
Signed-off-by: kushthedude <kushthedude@gmail.com>

Co-authored-by: Florian Giroud <6267288+fgiroud@users.noreply.github.com>
2021-03-30 10:02:37 +02:00
dependabot[bot]
573bef02dc
build(deps): bump cypress-file-upload in /main/tests/cypress (#3763)
Bumps [cypress-file-upload](https://github.com/abramenal/cypress-file-upload) from 5.0.2 to 5.0.3.
- [Release notes](https://github.com/abramenal/cypress-file-upload/releases)
- [Commits](https://github.com/abramenal/cypress-file-upload/compare/v5.0.2...v5.0.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
2021-03-23 23:48:18 +01:00
dependabot[bot]
45a86f62b4
build(deps): bump cypress from 6.6.0 to 6.8.0 in /main/tests/cypress (#3749)
Bumps [cypress](https://github.com/cypress-io/cypress) from 6.6.0 to 6.8.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v6.6.0...v6.8.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kush Trivedi <44091822+kushthedude@users.noreply.github.com>
Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
2021-03-20 20:06:02 +01:00
Florian Giroud
a9e03eabd4
Attempt to fix flaky integration tests (#3755)
* Attempt fo fix flaky test : add_columns_based_on_this_column, Clojure, replaced .contains by assertion

* Attempt fo fix flaky test apply.spec.js

* Attempt to fix many flaky tests in a row, by addinf assertions to ensure OpenRefine is properly loaded
2021-03-18 16:03:32 +01:00
Kush Trivedi
c29ba491a3
fix: create project tests fails due to less timeout (#3757)
Signed-off-by: kushthedude <kushthedude@gmail.com>
2021-03-18 15:15:58 +01:00
dependabot[bot]
0f024d833e
build(deps): bump butterfly from 1.0.4 to 1.1.1 (#3699)
* build(deps): bump butterfly from 1.0.4 to 1.1.0

Bumps [butterfly](https://github.com/OpenRefine/simile-butterfly) from 1.0.4 to 1.1.0.
- [Release notes](https://github.com/OpenRefine/simile-butterfly/releases)
- [Commits](https://github.com/OpenRefine/simile-butterfly/commits)

Signed-off-by: dependabot[bot] <support@github.com>

* Update Butterfly configuration after Jetty upgrade

* Fix main class name in web.xml

* Upgrade Butterfly to Jetty 9

* Temporary debugging output to understand why RefineServlet is not found

* Upgrade servlet-api

* Fix javax.servlet-api artifactId

* Reinstate debug logging temporarily

* Update butterfly to 1.1.1 to solve servlet-api version conflict

* Update javax.servlet-api in the rest of the code base

* Silence server logs in ./refine ui_test again

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
2021-03-18 10:12:57 +01:00
Florian Giroud
2cd7e903bc
Fixed a testing method (cypress) that was failing for large datasets, #3734 (#3735) 2021-03-17 11:26:35 +01:00
dependabot[bot]
2f9e49534f
build(deps-dev): bump eslint in /main/tests/cypress (#3720)
Bumps [eslint](https://github.com/eslint/eslint) from 7.20.0 to 7.22.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.20.0...v7.22.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-15 13:33:04 +01:00
Kush Trivedi
b455dc577a
feat: add tests for project parsing options (#3676)
* feat: add tests for project parsing options

Signed-off-by: kushthedude <kushthedude@gmail.com>

* fix

Signed-off-by: kushthedude <kushthedude@gmail.com>

* wrap up parsing tests

Signed-off-by: kushthedude <kushthedude@gmail.com>

* fix

Signed-off-by: kushthedude <kushthedude@gmail.com>

* change selector

Signed-off-by: kushthedude <kushthedude@gmail.com>

* fix

Signed-off-by: kushthedude <kushthedude@gmail.com>

Co-authored-by: Florian Giroud <6267288+fgiroud@users.noreply.github.com>
2021-03-12 10:40:36 +01:00
Kush Trivedi
6c3a4cfa88
fix: in cypress tests, increased wait time for preview-table to update (#3715)
Signed-off-by: kushthedude <kushthedude@gmail.com>
2021-03-12 09:48:48 +01:00
Florian Giroud
91c3cc734d
Added UX test for column, split&join (#3641), issue #3641
Added UX test for column, split&join
2021-03-10 15:46:50 +01:00
Kush Trivedi
a07ca9d72d
feat: add tests for edit_column (#3704) 2021-03-10 10:58:42 +01:00
S-Harshit
9760380150
Added UX Tests for column / Edit cells / Common transforms (#3683)
* added tests for common-transforms

* Update Replace-Smart-quotes-with-ascii.spec.js

* changed spec name

convert the column to the number and then test the conversion to text

* Used cy.castColumnTo() to cast to-number before testing to-text

Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
2021-03-04 13:51:03 +01:00
dependabot[bot]
b85a7a8575
build(deps): bump cypress from 6.5.0 to 6.6.0 in /main/tests/cypress (#3687)
Bumps [cypress](https://github.com/cypress-io/cypress) from 6.5.0 to 6.6.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v6.5.0...v6.6.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
2021-03-03 13:47:38 +01:00
dependabot[bot]
145126a775
build(deps-dev): bump eslint-config-prettier in /main/tests/cypress (#3670)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 7.2.0 to 8.1.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v7.2.0...v8.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-28 18:07:30 -05:00
Kush Trivedi
3db9453661
feat: add tests for create project (#3603)
* feat: add tests for create project

Signed-off-by: kushthedude <kushthedude@gmail.com>

* add test for URL and increase timeout

Signed-off-by: kushthedude <kushthedude@gmail.com>

* restore timeout

Signed-off-by: kushthedude <kushthedude@gmail.com>

* restore timeout

Signed-off-by: kushthedude <kushthedude@gmail.com>

* fix

Signed-off-by: kushthedude <kushthedude@gmail.com>

* amend urls

Signed-off-by: kushthedude <kushthedude@gmail.com>

Co-authored-by: Tom Morris <tfmorris@gmail.com>
2021-02-26 21:12:46 +01:00
sarahelshabrawy
cf58dc4cdc
Enable hyperlinks in in-tool Help field (#3648) 2021-02-20 12:56:39 +01:00
dependabot[bot]
62c5270a6d
build(deps): bump uniqid from 5.2.0 to 5.3.0 in /main/tests/cypress (#3655)
Bumps [uniqid](https://github.com/adamhalasz/uniqid) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/adamhalasz/uniqid/releases)
- [Commits](https://github.com/adamhalasz/uniqid/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
2021-02-20 10:36:40 +01:00
dependabot[bot]
968378a39c
build(deps-dev): bump eslint in /main/tests/cypress (#3640)
Bumps [eslint](https://github.com/eslint/eslint) from 7.19.0 to 7.20.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.19.0...v7.20.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
Co-authored-by: Kush Trivedi <44091822+kushthedude@users.noreply.github.com>
2021-02-19 08:44:37 +01:00
allanaaa
713a8f5b72
Edits to GREL Help text in-tool (#3649)
Improvements to GREL Help text in-tool and minor updates to GREL reference. Plus removal of pointless tests

Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
Co-authored-by: Owen Stephens <owen@ostephens.com>
2021-02-18 17:52:32 +00:00
Florian Giroud
c5f3d700a3
test: Added tests for transpose functionalities, #3426 (#3650)
* test: Added tests for transpose functionalities, #3426
2021-02-18 15:15:29 +01:00
Kush Trivedi
0c5742771c
feat: add tests for rows-records mode (#3606)
Added tests for the view as row / view as record modes in the grid header
2021-02-18 11:16:34 +01:00
dependabot[bot]
64e75f79ad
build(deps): bump cypress from 6.4.0 to 6.5.0 in /main/tests/cypress (#3644)
Bumps [cypress](https://github.com/cypress-io/cypress) from 6.4.0 to 6.5.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v6.4.0...v6.5.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-16 19:02:34 +01:00
Kush Trivedi
1b02446b5c
fix: accidental non-linted files in repo (#3635)
Signed-off-by: kushthedude <kushthedude@gmail.com>
2021-02-14 19:30:23 +01:00
S-Harshit
389fa6257d
Add UX Test for controls at the row level (#3601)
* Add UX Test for controls at the row level
2021-02-12 14:16:33 +01:00
Akshita Singh
7bccdd1bcf
UI support for multiple hyperlinks in the same cell (#3597)
* fix for style ,hyperlink,tests added

* fixes #2519 hyperlink issue and added tests

* fixes #2519 ,span test,typo indent fixed
2021-02-11 19:54:36 +01:00
Kush Trivedi
f2d2be1356
CI: add eslint workflow in the CI (#3602)
Signed-off-by: kushthedude <kushthedude@gmail.com>
2021-02-10 14:18:49 +01:00
Florian Giroud
a1209f9702
Fix Flaky Cypress tests, Issue 3594 (#3595)
* Attempt to fix flaky tests
* Increased Cypress retries, removed retries for openMode
2021-02-08 14:47:52 +01:00
Florian Giroud
382c030a7c
fix: UX tests linting (#3593) 2021-02-07 21:27:12 +01:00
S-Harshit
fb248495f1
Add UX Test for column / Text filter (#3566)
* AddUX Test for column / Text filter

fixes #3421
2021-02-07 21:05:36 +01:00
dependabot[bot]
c1cbc2bdd7
Bump cypress from 6.2.1 to 6.4.0 in /main/tests/cypress (#3551)
Bumps [cypress](https://github.com/cypress-io/cypress) from 6.2.1 to 6.4.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v6.2.1...v6.4.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-07 20:56:09 +01:00
Florian Giroud
7003dd2d2d
doc: Enriched UX testing documentation, #3573 (#3583) 2021-02-07 19:07:54 +01:00
Kush Trivedi
859828a0f0
feat: add ESLint configuration for cypress-test-suite (#3564)
* feat: Initialise ES-Lint for cypress
2021-02-07 18:53:13 +01:00
Antonin Delpeuch
a0bea8f8c7 Revert "Merge pull request #3588 from singhakshita/hyperlink-issue-tests"
This reverts commit 79aa260442, reversing
changes made to d6edf5ddb0.

See discussion at:
https://github.com/OpenRefine/OpenRefine/pull/3588
2021-02-07 09:21:26 +01:00
singhakshita
44d019a014
Update main/tests/cypress/cypress/integration/project/grid/column/edit-cells/common-transforms/proper-display.spec.js
Co-authored-by: Thad Guidry <thadguidry@gmail.com>
2021-02-06 21:35:20 +05:30
akshitasingh
002d795c43 tests fixed 2021-02-06 11:41:02 +05:30
akshitasingh
86d64bfb15 lint fix 2021-02-06 08:16:30 +05:30
akshitasingh
d0802fa0ce tests for hyperlink 2021-02-05 22:41:29 +05:30
Kush Trivedi
3692257aa1
feat: add tests for pagination and pagesize (#3550)
* feat: add tests for pagination and pagesize
2021-02-04 15:42:57 +01:00
Kush Trivedi
6750a45d53
feat: add prettier lint scripts and workflow (#3546)
* feat: add lint scripts and workflow

Signed-off-by: kushthedude <kushthedude@gmail.com>

* fix lint

Signed-off-by: kushthedude <kushthedude@gmail.com>
2021-02-04 15:37:03 +01:00
Florian Giroud
a5db3774f9
test: Added tests for expression panels, #3498 (#3535)
* test: Added tests for expression panels, #3498

* Cosmetic changes, renaming tests

* Refactored unique expressions used in tests
2021-02-02 09:09:25 +01:00
Florian Giroud
23be710f2c
test: Refactored the facet test, added more cases (#3534)
* test: Refactored the facet test, added more cases, added utility methods, #3419

* Update main/tests/cypress/cypress/integration/project/grid/column/facet/facets.spec.js

Co-authored-by: Thad Guidry <thadguidry@gmail.com>

* Update main/tests/cypress/cypress/integration/project/grid/column/facet/facets.spec.js

Co-authored-by: Thad Guidry <thadguidry@gmail.com>

* Update main/tests/cypress/cypress/integration/project/grid/column/facet/facets.spec.js

Co-authored-by: Thad Guidry <thadguidry@gmail.com>

* Removed assertion from utility method editCell

Co-authored-by: Thad Guidry <thadguidry@gmail.com>
2021-02-02 09:07:40 +01:00
Florian Giroud
3ce9292b66
test: Added test cases for edit Cells, #3423 (#3541) 2021-02-01 14:43:27 +01:00
Kush Trivedi
b8982d1d6e
tests: add test for filtering project through tags (#3521)
* tests: add test for filtering project through tags

Signed-off-by: Kush Trivedi <kushthedude@gmail.com>
2021-02-01 13:49:04 +01:00
Kush Trivedi
0b748bcc37
feat: add tests for sorting column (#3519)
* feat: add tests for sorting column
2021-02-01 13:40:40 +01:00
Kush Trivedi
7e81f9500b
fix: properly migrate to cypress 6.2.1 (#3533)
Signed-off-by: Kush Trivedi <kushthedude@gmail.com>
2021-01-28 12:36:02 +01:00
Florian Giroud
8c50a18a85
fix: Reverted Cypress to 6.2.1
Reverted Cypress, because of too many stability issues with the latest 6.3
2021-01-28 12:22:23 +01:00
Kush Trivedi
900ff2db9a
tests: UX Test for project list deletion, sort, filter (#3480)
* tests: UX Test for project list deletion, sort, filter

Signed-off-by: Kush Trivedi <kushthedude@gmail.com>
2021-01-28 11:45:05 +01:00
dependabot[bot]
951175a1f5
Bump cypress-file-upload from 5.0.1 to 5.0.2 in /main/tests/cypress (#3516)
Bumps [cypress-file-upload](https://github.com/abramenal/cypress-file-upload) from 5.0.1 to 5.0.2.
- [Release notes](https://github.com/abramenal/cypress-file-upload/releases)
- [Commits](https://github.com/abramenal/cypress-file-upload/compare/v5.0.1...v5.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-27 09:15:30 +01:00
Florian Giroud
a421447a8f
test: Improved the way we handle fixtures, #3505 (#3506)
* test: Improved the way we handle fixtures, #3505

* Added a fix for an invalid call to loadAndVisitProject, added cypress download path to gitignore
2021-01-25 21:05:03 +01:00
dependabot[bot]
61fe0ed458
Bump cypress-file-upload from 5.0.0 to 5.0.1 in /main/tests/cypress (#3503)
Bumps [cypress-file-upload](https://github.com/abramenal/cypress-file-upload) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/abramenal/cypress-file-upload/releases)
- [Commits](https://github.com/abramenal/cypress-file-upload/compare/v5.0.0...v5.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-22 12:23:39 +01:00
Kush Trivedi
2f375664f2
feat: introduct prettier style formatting for cypress test suite (#3494)
Signed-off-by: Kush Trivedi <kushthedude@gmail.com>
2021-01-21 14:08:01 +01:00
dependabot[bot]
1a2a5082d7
Bump fs-extra from 9.0.1 to 9.1.0 in /main/tests/cypress (#3500)
Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 9.0.1 to 9.1.0.
- [Release notes](https://github.com/jprichardson/node-fs-extra/releases)
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jprichardson/node-fs-extra/compare/9.0.1...9.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-20 17:38:00 +01:00
dependabot[bot]
00f31eb758
Bump cypress from 6.2.1 to 6.3.0 in /main/tests/cypress (#3501)
Bumps [cypress](https://github.com/cypress-io/cypress) from 6.2.1 to 6.3.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v6.2.1...v6.3.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-20 14:45:39 +01:00
dependabot[bot]
c6f15ed653
Bump cypress-file-upload from 4.1.1 to 5.0.0 in /main/tests/cypress (#3493)
Bumps [cypress-file-upload](https://github.com/abramenal/cypress-file-upload) from 4.1.1 to 5.0.0.
- [Release notes](https://github.com/abramenal/cypress-file-upload/releases)
- [Commits](https://github.com/abramenal/cypress-file-upload/compare/v4.1.1...v5.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-18 22:27:12 +01:00
Florian Giroud
e2361fee56
Issue 3453, organized the test suite (#3456)
* Moved and renamed Cypress tests, created folders skeleton

* Updated syntax for assertions in sorting test

* Added test folders

* fix: cache all UI paths for cypress (#3454)

* fix: cache all UI paths for cypress

* Update pull_request.yml

* chore: restore caching in pr workflow (#3457)

Signed-off-by: Kush Trivedi <kushthedude@gmail.com>

Co-authored-by: Kush Trivedi <44091822+kushthedude@users.noreply.github.com>
2021-01-12 15:24:53 +01:00
dependabot[bot]
a6b7855ede
Bump cypress from 6.0.1 to 6.2.1 in /main/tests/cypress (#3448)
Bumps [cypress](https://github.com/cypress-io/cypress) from 6.0.1 to 6.2.1.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v6.0.1...v6.2.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-07 22:41:42 +01:00
Kush Trivedi
0e08c50e07
feat: introduce dependabot for cypress suite (#3447)
Signed-off-by: Kush Trivedi <kushthedude@gmail.com>
2021-01-07 08:37:24 +01:00
Kush Trivedi
fe123129d2
chore: align test-suite name with npm standards (#3439)
* chore: align test-suite name with npm standards

Signed-off-by: Kush Trivedi <kushthedude@gmail.com>

* chore: rename ci to openrefine

Signed-off-by: Kush Trivedi <kushthedude@gmail.com>

* chore: make requested changes

Signed-off-by: Kush Trivedi <kushthedude@gmail.com>
2021-01-04 12:28:48 +01:00
Florian Giroud
4b6106a386
Run UI tests in continuous integration (#3393)
* Fixed flaky tests

* Refactored ui_test commans-line, added documentation

* Attempt to build a workflow with cypress

* Fixed CI UX tests build

* Changed cyprss actions for pull-request

* Merged Cypress workflow into the regular PR target workflow

* Refactored Github workflows to include Cypress Tests

* Revert Ci build to pull_request_target
2020-12-15 20:34:15 +01:00
Tom Morris
14f43dc2cc
Refactor HTTP code into common module & Improve Fetch URL - fixes #3129 (#3237)
* Refactor HTTP code into a common utility class 

Centralizes the six (slightly) different implementations to use
a common Apache HTTP Client 5 implementation which implements our
strategies for retries, timeouts, error handling, etc.

Apache HTTP Client 5 adds support for Retry-After headers, HTTP/2,
and a bunch of other stuff under the covers.

Moves request delay to a request interceptor and fixes calculation
of the delay (again). Increase retries from 1x to 3x and use delay*2
as the default retry interval, if no Retry-After header. Uses an 
exponential backoff strategy for multiple retries.

* Reuses HTTP client across requests
* Use IOException instead of Exception for HTTP errors
2020-12-07 00:38:36 -05:00
Mahesh Jindal
4f97fd55a5
Fix: Preventing addition of any empty cells with whitespaces while importing Xml Data with Tests #1095 (#3357)
* Fix: Preventing addition of any empty cells with whitespaces while importing Xml data with Tests : Issue #1095

* Chore: Using 'CharMatcher' to match whitespace pattern instead of using custom regex : Issue #1095
2020-12-02 18:11:45 +01:00