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
Tom Morris
2872ceeb7a
Merge pull request #3349 from thadguidry/fingerprint-wynn-thadguidry
...
Add Wynn to fingerprint to support Old English texts
2020-11-28 22:08:00 -05:00
Thad Guidry
3d30897b3b
Add Wynn to fingerprint to support Old English texts
2020-11-28 21:40:49 -05:00
Florian Giroud
7950d764ff
Architecture for front end browser-based UI tests, issue #733 ( #3340 )
...
* Added Cypress tests to OpenRefine
* Installed Cypress
* Added a few tests to cover basic OR features
Y
* Enriched langage Tests
* Enriched project_create tests
* Refactored and enriched undo/redo tests, added extract & apply
* Upgraded Cypress to 5.6.0
* Removed the cypress-dot-env plugin, as Cypress now supports nice configuration capabilities
* Added UX tests documentation
* Improved functional tests documentation, added license and description to tests package.json
2020-11-23 18:18:12 +01:00
rachittiwari8562
990540ce10
Fix #3330 : argument checking in phonetic GREL function ( #3345 )
...
* Fix for issue #3330 phonetic-function
* Update main/src/com/google/refine/expr/functions/strings/Phonetic.java
Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
* Corrected Intendation
Corrected intendation as suggested.
* Added tests to check invalid parameters
* Added tests to check invalid parameters
Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
2020-11-22 09:23:06 +01:00
Thad Guidry
6c9ad3f31d
Improve documentation of reinterpret GREL function ( #3315 )
...
* add clarity for reinterpret docs
Helps fix #3292
* update reinterpret docs phrasing
We agreed to use "encoding" to be friendly to user exposed messaging instead of "encoder" and "decoder" that is used internally.
* fix serializeReinterpret() test json
2020-11-05 07:57:12 +01:00
rubyAnne
352127558a
changed to reflect the function's acceptance of either simple string … ( #3294 )
...
* changed to reflect the function's acceptance of either simple string or regex
* cast p into a Pattern
* cast p into a Pattern
* Changed test to reflect the new output from function.
2020-11-01 08:52:36 +01:00
Tom Morris
c8220d687e
Improve fingerprint keyers - fixes #3282 ( #3283 )
...
* Add more keyer tests
- All forms of Unicode whitespace for both fingerprint & N-gram fingerprint
- additional N-gram fingerprint cases
* Improve fingerprint keyers
- Update N-gram fingerprint keyer to match (missed last time)
- refactor string normalization to reduce redundancy between two keyers
- add C1 controls to control characters that are stripped
- include all Unicode whitespace characters in splitting delimiter
and don't strip controls which are whitespace (HT, LF, VT, FF, CR,
NEL)
- minor cleanups, simplifications, and performance optimizations
2020-10-25 20:32:30 +01:00
Tom Morris
30d16c2077
Add Thad/Owen's test
2020-09-30 20:57:57 -04:00
Tom Morris
dbb8e530c8
Add tests for array reverse & join
2020-09-30 20:24:05 -04:00
Tom Morris
d6e42bf5d9
Annotate another missed test
2020-09-30 20:00:08 -04:00
Tom Morris
959200d141
Maintain order for uniques() - fixes #3235
...
Also add tests
2020-09-30 17:45:24 -04:00
Tom Morris
bb4fc50f17
Enable missed test
2020-09-30 17:44:05 -04:00