19 Commits

Author SHA1 Message Date
Shailesh Parmar
151dd3e48b
Minor: fixed edit modal issue for sql test case (#17132)
* Minor: fixed edit modal issue for sql test case

* fixed test
2024-07-23 17:57:02 +05:30
Shailesh Parmar
c2db1bbf0f
Minor: added support for search param based test case filter (#17030)
* Minor: added support for search param based test case filter

* fixed remove filter issue
2024-07-16 10:44:48 +05:30
Imri Paran
b960b60965
Fix #16421: add tableDiff test case (#16554)
* feat: add tableDiff test case

This changed introduces a "table diff" test case which
compares two tables and fails if they are not identical.
The similarity is made based on a specific "key" (because the test only makes sense when performed on ordered collections).

1. Added the `tableDiff` test definition.
2. Implemented a "runtime" parameters feature which injects additional parameters for the test at runtime.
3. Integration tests (because of course).

This feature was not tested end-to-end yet because "array" data

* pydantic v2

* format

* format

* format and added data diff to setup.py

* format

* fixed param issue which has type ARRAY

* fixed runtime_parameter_setter

* moved models to parent directory

* handle errors in table diff

* fixed issue with edit test case

* format

* added more details to pytest skip

* format

* refactor: Improve createTestCaseParameters function in DataQualityUtils

* fixed unit test

* removed unused fixture

* removed validator.py

* fixed tests

* added validate kwarg to tests_mixin

* removed "postgres" data diff extra as they interfere with psycopg2-binary

* fixed tests

* pinned tenacity for tests

* reverted tenacity pinning

* added ui support for test diff

* fixed dq cypress and added edit flow

* organized the test case

* added dialect support

* fixed tests

* option style fix

* fixed calculation for passing/failing rows

* restrict the tableDiff test to limited services

* set where to None if blank string

* fixed where clause

* fixed tests for where clause

* use displayName in place of name in edit form

* added docs for RuntimeParameterSetter

* fixed cypress

---------

Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2024-06-20 16:54:12 +02:00
Sachin Chaurasiya
de9822e7f3
test: fix cypress test aut (#16618)
* test: fix cypress test aut

* fixed aut failure

* fix user cypress failure due to autofocus on feed description

* changes as per comments

* fix: custom properties after hook api call

* Fix observability alert test

* update the addOwner function to avoid flakiness

* fixed Data insight and glossaryVersion page cypress

---------

Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
Co-authored-by: Ashish Gupta <ashish@getcollate.io>
Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com>
2024-06-13 15:47:09 +05:30
Chirag Madlani
5b71d79e8a
feat(ui): support tag & tier filter for test case (#16502)
* feat(ui): support tag & tier filter for test case

* fix tag filter

* allow single select for tier

* added service name filter

* update cypress for tags, tier & service

* add specific add for filters

* fix tier api call
2024-06-04 15:44:46 +05:30
Shailesh Parmar
3a9c2473aa
#16381 Test case not showing test type (#16399) 2024-05-24 11:27:28 +05:30
Teddy
5555c3db88
[MINOR] test case listing with prefix (#16382)
* fix: test case listing with prefix

* fix: domain filtering

* added cypress for domain and data quality filters

---------

Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2024-05-22 18:52:20 +05:30
Shailesh Parmar
fa66b55806
#15856 Error when creating test cases if the table contains the name COLUMN (#16195)
* #15856 Error when creating test cases if the table contains the name COLUMN

* chore: Update Cypress configuration to include all test files & fixed filter cypres
2024-05-10 08:16:30 +05:30
Shailesh Parmar
cf069a3e31
Minor: Incorporated feedback on test case filters implementation (#16181)
* Minor: Incorporated feedback on test case filters implementation

* refactor the code and added unit test
2024-05-09 11:56:00 +05:30
Teddy
5646d0409d
Minor fix test case sorting in search client (#16035)
* fix: search sorting on null timestamp

* skipping cypress tests for filters

* fix: use getChildAlias for ES children update/delete

* fix: add retry logic for test case resource ES

* style: ran java linting

* fix: cascade search deletion to children

* updated profilerConfig

* fix: move ES deletion to end of flow

* style: ran java linting

* chore: test mvn execution time without test case resource test

* style: fix java linting

* chore: re enable test case resource tests

* fix: reduce wait time for get test summary

* fix: add rertry on deleteTag for search tests

* fix: denormalize test entities relationship for search

* style: ran java linting

---------

Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2024-05-03 08:02:02 +02:00
Shailesh Parmar
a5a56ebe6a
cypress: fixed cypress test failure of main (#16058) 2024-04-26 19:27:50 +05:30
Shailesh Parmar
f079168845
Minor: fixed test case description change issue (#15867)
* Minor: fixed test case description change issue

* fixed cypress failure
2024-04-12 12:14:50 +05:30
Shailesh Parmar
073d9ea57b
Fixes #10354 Filter test suites by owner / name (#15826)
* feat: add list from search for test suite

* feat: add list from search and owner/name filter for test suites

* style: ran java linting

* fix: es log failure detail

* #10354 Filter test suites by owner / name

* added filter logic, cypress and fixed unit test

---------

Co-authored-by: Teddy Crepineau <teddy.crepineau@gmail.com>
2024-04-10 19:28:55 +05:30
Shailesh Parmar
7264773d6c
#14941 Filtering and sorting of data quality tests & suites at Data Quality page (#15725)
* #14941 Filtering and sorting of data quality tests & suites at Data Quality page

* added filters for test case type, status and startTs and endTs

* added platform filter

* sync-translation

* added table filter

* updated pagination for filter

* fixed failing unit test

* added unit test for filters

* added cypress for test case filters

* skipping filter cypress

* skipping cypress test
2024-04-09 11:35:09 +00:00
Shailesh Parmar
eec5a72fa6
cypress: fixed AUT failure of main branch (#15820) 2024-04-05 15:44:11 +05:30
Ashish Gupta
a64c8493f2
cypress: fix cypress failure (#15694)
* cypress: fix cypress failure for teamDragAndDrop

* added cypress label

* move cleanup code in the after function

* remove the team creation from test part and put it in before

* remove service.spec as it is already covered in services.spec

* fixed DQ cypress

---------

Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2024-04-01 14:28:18 +05:30
Sachin Chaurasiya
dfbc9deb9c
ui: integrate zustand for global state management part 1 (#15082) 2024-03-15 03:02:42 +05:30
Shailesh Parmar
87c78e04b8
Minor: fixed DQ edit test case issue and searchIndexDetails typescript issue (#15528)
* Minor: fixed DQ edit test case issue and searchIndexDetails typescript issue

* fixed failing unit test

* fixed unit test for Data quality test

* reverting e2eLabeler changes
2024-03-13 07:24:17 +00:00
Chirag Madlani
78d6b72e48
chore(ui): typescript support for cypress tests (#15239)
* chore(ui): typescript support for cypress tests

* convert all js to ts

* fix more types

* fix more types

* updated config for ts file

* fixed failing cypress test

* fixed DQ cypress

* fixed dq flaky test

---------

Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2024-03-07 17:06:33 +05:30