73 Commits

Author SHA1 Message Date
Ashish Gupta
25efd7641e
fix cypress for dataModelVersionPage (#16715) 2024-06-19 19:45:56 +05:30
Shailesh Parmar
18ee2b8ff2
playwright: improve the existing playwright test (#16650)
* playwright: improve the existing playwright test

* pw improvement

* minor change

* reduce the scope of custom property

* reduce scope of custom property test

* addressing comments

* updated response timeout
2024-06-14 11:55:59 +05:30
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
Aniket Katkar
dc31717b16
OSS changes for adding automator cypress tests (#16611) 2024-06-11 19:57:11 +05:30
Sachin Chaurasiya
8c173bed6a
test: add updateJWTTokenExpiryTime util (#16606) 2024-06-11 17:49:16 +05:30
Shailesh Parmar
0b205faefc
cypress: fixed 1.4.2 AUT cypress (#16602)
* cypress: fixed 1.4.2 AUT cypress

* fix cypress around announcement,user,glossary, lineage and mydata

* searchIndexApplication fix and minor changes

---------

Co-authored-by: Ashish Gupta <ashish@getcollate.io>
2024-06-11 16:00:51 +05:30
Shailesh Parmar
1f9e87a938
cypress: fixed flakiness and announcment cypress (#16579) 2024-06-09 19:54:06 +05:30
Ashish Gupta
98945cb2db
#16521: fix issue in userProfilePage for roles. teams and displayName (#16527)
* fix update on roles and backlink them in user profile page

* fix teams, displayName and profile pic issue

* sonar fix

* fix cypress issue

* minor changes
2024-06-06 23:03:55 +05:30
Mohit Yadav
9ec3d94e3b
[FIX] GlossaryTerm reviewers should be user or team only (#16372)
* add teams as reviewer

* Check Users to be reviewers

* Reviewers can be a team or user

* Fix check by id or name

* Review can be team or user both

* Validate Reviewers

* add multi select control

* - Fix Reviewers

* - Centralize Reviewer Relationship to EntityRepository

* - Sort

* add team as reviewer for glossary terms

* locales

* cleanup

* - Update Reviewer should remove existing reviewers

* fix selectable owner control

* fix code smells

* fix reviewer issue

* add glossary cypress

* fix patch issue on reviewers set to null

* update cypress tests

* fix cypress

* fix cypress

* fix reviewers in glossary task and supported cypress

* fix pytest

* Fix

* fix cypress

* fix code smells

* Inherited Reviewers need to be present always

* filter out inherited users

* fix cypress

* fix backend tests failure

* fix backend tests failure -checkstyle

* restrict owner to accept task in case of reviewer present

* fix pytest

---------

Co-authored-by: karanh37 <karanh37@gmail.com>
Co-authored-by: Pere Miquel Brull <peremiquelbrull@gmail.com>
Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com>
Co-authored-by: Ashish Gupta <ashish@getcollate.io>
Co-authored-by: ulixius9 <mayursingal9@gmail.com>
Co-authored-by: sonikashah <sonikashah94@gmail.com>
2024-06-06 20:23:37 +05:30
Ashish Gupta
fcb87b5866
CYPRESS: fix announcement cypress (#16536)
* fix announcement cypress

* changes as per comments

* fix the cypress failure
2024-06-06 00:05:10 +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
Ashish Gupta
ee7cddd169
fix announcement not redirect from landing page (#16506)
* fix announcement not redirect from landing page

* minor changes

* change in cypress test
2024-06-03 12:27:55 +05:30
sonika-shah
ae5e9d61cc
Fix #16278 : Search to display Draft glossaryTerms on Explore page (#16462)
* Fix #16278 : Search to display Draft glossaryTerms as well on Explore page

* add term status quick filter

* change aggregation key for status field

* change aggregation key for status field

* add lowercase_normalizer in status filed for aggregate api

* add cypress tests

* fix cypress

---------

Co-authored-by: karanh37 <karanh37@gmail.com>
Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com>
2024-05-30 13:25:13 +00:00
Shailesh Parmar
029370205f
cypress: fixed cypress AUT for mysql (#16446)
* cypress: fixed cypress AUT for mysql

* minor fix
2024-05-29 13:51:17 +05:30
Shailesh Parmar
505690e523
cypress: fixed aut failure part 7 (#16371)
* cypress: fixed aut failure part 7

* updated cypress

* fixed failing cypress
2024-05-26 14:12:27 +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
Sachin Chaurasiya
4c46fba202
Minor: improve custom property cypress (#16369) 2024-05-21 23:46:27 +05:30
Shailesh Parmar
7b9955d6ed
cypress: fixed flakiness of glossary selection cypress (#16332)
* cypress: fixed flakiness of glossary selection cypress

* miner fix

* testing the tags,glossary cypress

* adding manual wait to click on correct element

* revert cypress config changes

---------

Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
2024-05-18 10:42:38 +05:30
Sachin Chaurasiya
92cea45c00
test: add cypress tests for entity ref and entity ref list custom properties (#16324) 2024-05-17 17:22:42 +05:30
Karan Hotchandani
46e14b79f4
fix glossary term selection (#16303)
* fix glossary term selection

* fix flaky tags cypress
2024-05-16 18:19:54 +05:30
Shailesh Parmar
9747315522
cypress: fixed cypress aut failure 5 and improve recursion logic (#16300)
* cypress: fixed aut failure part 5

* revert test-suite name change

* fixed data insight report application
2024-05-16 17:43:59 +05:30
Sachin Chaurasiya
755a643f6f
test: fix custom properties cypress tests (#16272)
* test: fix custom properties cypress tests

* chore: Update Cypress tests for custom properties

* chore: Update Cypress tests for custom properties

* chore: Update Cypress tests for custom properties
2024-05-15 23:59:45 +05:30
Shailesh Parmar
84f3f4ef8b
cypress: AUT cypress failure part 1 (#16222)
* cypress: AUT cypress failure part 1

* fixed failing cypress and skip airflow ingestion cypress

* fixed test

* addressing comment

* fixed failing cypress

* updated api wait

* reverting skip test and config change

* added License
2024-05-11 19:31:34 +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
Sachin Chaurasiya
8016a5e8dc
Minor: disable time, dateTime and timeInterval custom property type from UI (#16136) 2024-05-07 22:35:07 +05:30
Shailesh Parmar
e2de16bbaa
cypress: fixed cypress tests for main (#16088)
* cypress: fixed cypress tests for main

* fixed tags cypress

* skipping test related to activity feed
2024-05-02 18:55:33 +05:30
Ashish Gupta
89b083b6f2
revamp announcement card (#16016)
* revamp announcement card

* cypress fix and minor improvement

* fix sonar issue

* refactor ProfilePicture view and support cypress and fix sonar lint issue

* added and fix some unit test

* fix and added unit test

* changes made as per comments

* fix sonar issue

* skip cypress failure due to flakiness
2024-04-30 15:19:57 +05:30
Shailesh Parmar
a5a56ebe6a
cypress: fixed cypress test failure of main (#16058) 2024-04-26 19:27:50 +05:30
Harsh Vador
5125ebc812
(feat): show glossary terms in hierarchy form (#15823)
* (feat): show glossary terms in hierarchy form

* update treeSelectList component

* support hierarchy for glossary search

* finish with hierarchy implementation

* fix tag selection issue

* skip tests

* open menu by default to avoid user click

* fix cypress

* fix cypress

* address comments

* fix tags spec

* fix tag spec

* fix count issue for tags page

---------

Co-authored-by: Chira Madlani <chirag@getcollate.io>
Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
2024-04-26 12:55:40 +05:30
Shailesh Parmar
14ba83a427
cypress: fixed service ingestion cypress for test connection (#15989)
* cypress: fixed service ingestion cypress for test connection

* remove unwanted wait for get request
2024-04-23 12:12:51 +05:30
Pere Miquel Brull
b1a4faf171
MINOR - Metadata Actions schemas (#15822)
* MINOR - Metadata Actions schemas

* add type for left side menu bar items

* fix the required fields in automatorAppConfig.json schema

* update constants

* mixin

* create new styled component to show in alerts form card

* Add new translations for ingestion pipeline and location

* Fix import statement in AlertDetailsPage.tsx

* Update automatorAppConfig.json schema to use an array for the 'type' property

* config

* move the advanced search configs to a new classBase for better customization

* Update automatorAppConfig.json schema to add "name" and "description" fields

* Update automatorAppConfig.json schema to remove "name" and "description" fields

* Add new translations for description-plural in multiple language files

* filter Automator

* revert remove

* Update pipeline actions interface and component to handle edit click event

* Update select type for advanced search fields in AdvancedSearchClassBase.ts

* Update ErrorPlaceHolderIngestion component to accept cardClassName prop

* Update FormCardSection component to accept className prop

* Update TagsContainerV2 component to include state property in tag data

* Update TagsContainerV2 component to include defaultState and defaultLabelType properties

* Update ingestionPipelineAPI.ts to include applicationType parameter in getIngestionPipelines function

* Update AdvanceSearchProvider.test.tsx to include pathname in useLocation mock

* work on comments

* fix sonar lint errors

* format

* Update useLocation mock in AdvanceSearchProvider.test.tsx to include pathname

* revert remove

* Update LogsViewerPage interfaces and component to include application_task in IngestionPipelineLogByIdInterface

* Update LeftSidebar component to import LeftSidebarItem interface and fix type annotation in children map function

* fix observability alert test

* revert the form list add method change

---------

Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com>
2024-04-19 12:46:58 +02:00
Sachin Chaurasiya
9995a13ac9
fix custom property cypress test (#15904) 2024-04-16 14:20:31 +05:30
Sachin Chaurasiya
10045d5a96
ui: add support for edit custom property in entity right panel (#15724)
* ui: add support for edit custom property in entity right panel

* add support for edit custom property in right panel for glossary term

* Add isRenderedInRightPanel prop to PropertyValue component

* Fix click issue in CustomProperty.ts

* Fix input visibility issue in setValueForProperty function

* Fix visibility issue in setValueForProperty function

* Fix import order in CustomProperty.ts

* Update visibility checks in setValueForProperty function in CustomProperty.ts file

* Fix import order in CustomPropertyTable.tsx
2024-04-12 13:07:06 +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
Sachin Chaurasiya
ed66fc9ab7
fix(#15364): autogenerate ingestion pipeline name and show displayName (#15767)
* fix(#15364): autogenerate ingestion pipeline name and show displayName

* Refactor AddIngestion component and StringsUtils

* Refactor UUID generation function

* Update rowKey in IngestionListTable.component.tsx

* add unit test for replaceCallback

* Fix service run button selector and update row key in IngestionListTable

* Refactor code to improve readability and maintainability

* Fix null check in checkAndDeleteApp function
2024-04-05 15:52:28 +05:30
Aniket Katkar
b2c72cb86f
Minor: Search Flow cypress fix (#15789)
* fix the search flow cypress failures

* specPattern change for testing

* updated the cypress config

* cypress config reverted
2024-04-03 16:09:44 +00:00
Aniket Katkar
5a22e31bb5
Minor: Fix AUT cypress test failures (#15751)
* remove sample_data dependency for searchFlow and improved version page tests

* address comments to move entity creation and deletion to util functions

* create util functions for getting the entity creation details for advanced search
2024-04-02 14:07:02 +05:30
Shailesh Parmar
8fcf700327
cypress: fixed cypress for AUT (#15765)
* cypress: fixed DataInsightReportApplication for AUT

* addressing comment

* Refactor custom property tests for better readability

* addressing comments

* fix glossary flakyness

---------

Co-authored-by: Sachin Chaurasiya <sachinchaurasiyachotey87@gmail.com>
Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
2024-04-02 12:02:45 +05:30
Aniket Katkar
4ee088cabf
Fixed cypress tests for Services, ObservabilityAlerts and Glossary VersionPage specs (#15704) 2024-03-27 00:56:02 +05:30
Sriharsha Chintalapani
7a3a271f26
Add entityReferences and entityReferenceList as custom properties (#15448)
* Add entityReferences and entityReferenceList as custom properties

* ui: allow to add custom properties for all available property types.

* make entity type as an array

* Fix label typo and import order in AddCustomProperty component

* Remove unnecessary property types with format

* Refactor CustomPropertyTable.tsx to handle array config and enum config

* Add entity reference options and update custom property form

* Add EntityReference and EntityReferenceList as a custom property

* add validation for date format

* Add date and dateTime input support to PropertyValue component

* Fix import order and add search functionality to type dropdown

* Fix custom property cypress tests

* add input for number, email, timestamp, timeInterval, duration, time, sqlQuery,

* add input support for entityReference and entityReferenceList

* Add placeholders for email, timestamp, start time, end time, and duration inputs

* Refactor PropertyValue component to use destructuring for timeInterval object

* Add minWidth style to PropertyValue component and include SQL query editor

* Add entityReference and entityReferenceList as a generic types and not reference to the existing types

* Remove services from entity reference types list

* handle property values for different property type

* Update ExtensionTable to handle object values in CustomPropertyTable

* Add entity reference list rendering and styling

* Fix file paths in complexTypes.json

* Add regex constant for UNIX timestamp in milliseconds and update language files

* Refactor custom property configuration and add new options

* Fix import order and update property value handling

* add unit tests for different input types for different property type

* add unit test for different property type values

* fix cypress tests

* add cypress test for CRUD for different types

* add cypress test for entity ref and entity ref list property type

* add cypress tests for all the 11 entities which support custom properties

* fix cypress test for createCustomPropertyForEntity

* Add new interfaces and types for CustomPropertyTable

* add cypress test for custom property to create via APIs for entities

* add cypress tests for string,integer, markdown, number, duration, email

* add cypress test for enum property for all entities

* add cypress test for sqlQuery, timestamp and timeInterval property

* fix cypress test for sqlQuery input

* fix flaky cypress test for sqlQuery input

* address comments

* Refactor import statements and update ENTITY_PATH enum

* Update import statement in CustomProperty.ts

* change TimeInterval to Time Interval

---------

Co-authored-by: Sachin Chaurasiya <sachinchaurasiyachotey87@gmail.com>
2024-03-26 11:02:44 +05:30
Aniket Katkar
e6cdd6e9a6
improve SingleFiledSearch, GlossaryVersion and NotificationAlert cypress tests to avoid flakiness (#15603) 2024-03-21 11:13:08 +05:30
Shailesh Parmar
a8a0fdc4a0
#15080 Add a filter by time and tags on the query view page (#15591)
* #15080 Add a filter by time and tags on the query view page

* added Query date filter and sorting options

* added owner filter

* fixed failing unit test

* added cypress for query filter

* miner improvement

* fixed failing cypress and move necessary code utils

* fixed failing cypress
2024-03-20 20:58:36 +05:30
Aniket Katkar
cae1d2c09f
Minor: Alert cypress code improvements to avoid flakiness (#15583)
* add visibility check for team user select dropdown

* improve and break SearchFlow tests into different spec files
2024-03-18 19:13:05 +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
Karan Hotchandani
14f280bd06
User and applications suggestions for entities (#15345)
* add metapilot app oss side config

* add metapilot app oss side config

* suggestions changes

* locales

* pushing progress

* localisation

* add suggestions count button

* locales

* fix tests

* add tests

* fix sonar issues

* fix tests and cleanup

* fix unit tests
2024-03-08 15:14:37 +05:30
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
Ashish Gupta
ec503c3afc
MINOR: add tooltip for icons (#15348)
* added tooltip on floating icons

* localizaion keys

* added tooltip on tables and other icons

* clipboard copy tooltip

* fix unit test

* fix cypress issue

* code smell fix

* changes as per comments and fix cypress issue
2024-02-28 16:41:08 +05:30
Chirag Madlani
ad9a6df282
fix(ui): show user info with displayName and profile on version timeline (#15233) 2024-02-23 10:36:14 +05:30
Shailesh Parmar
a35c8b3a5d
Minor: Updated put with patch call in ui and clean up (#15244)
* Minor: Updated put with patch call in ui and clean up

* fixed sonar cloud issue

* fixed drag drop failure
2024-02-20 16:25:02 +05:30