92 Commits

Author SHA1 Message Date
Sriharsha Chintalapani
c34545adeb
Issue-15768: Support Metric Entity (#17680)
* Issue-15768: Support Metric Entity

* Issue-15768: Support Metric Entity

* Issue-15768: Support Metric Entity

* Fix tests

* Fix tests

* Fix tests

* Minor: Fix tests

* ui: add metricsAPI rest utils

* ui: metric list page part 1

* feat: Add metric translations for multiple languages

* chore: Add "metric" field to SearchIndexingApplication schema

* ui: add create metric page

* ui: metric details page patch 1

* ui: add custom property and lineage support for metric entity

* ui: add expression component

* ui: add metric summary component

* chore: Update tab labels in MetricDetails and MetricVersion components

* ui: show other info like metric type, granularity, etc

* feat: Add support for metric entity in search dropdown

* feat: Rename custom property to Metric in MetricEntity.md

* feat: Add OwnerLabel component to MetricListPage

* Fix expression field in Metric

* chore: update expression to metricExpression

* ui: add metric header component with edit option

* Add metric to SearchIndexApp

* chore: Update expression to metricExpression

* ui: allow metric expression edit

* ui: update metric icon

* minor improvements

* Fix lineage indexing for Metric

* Update GlobalSettingsClassBase.ts to use MetricIcon for metrics in the global settings menu

* Fix error handling in MetricListPage component

* add related metrics

* minor improvements

* Fix relatedTerms patch

* Fix relatedTerms validation

* Add Boolean for deleted

* filter active entity from related metric list

* playwrite e2e part 1

* Refactor MetricSummary component to include RelatedMetrics in the summary panel

* test: add playwright test for metric special cases

* Add 'Metrics' to Explore Tree

* test: add e2e for add metric page

* test: add test for metric listing page content

* Add Boolean for deleted, remove deleted from suggests

* Refactor LineageProvider to handle deleted flag properly

* add playwright for metric listing

* fix test

* Add colored metric icon and update its usage in GlobalSettingsClassBase

* Fixed py_test test_ometa_endpoint for metric

---------

Co-authored-by: Sachin Chaurasiya <sachinchaurasiyachotey87@gmail.com>
Co-authored-by: mohitdeuex <mohit.y@deuexsolutions.com>
Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
Co-authored-by: SumanMaharana <sumanmaharana786@gmail.com>
Co-authored-by: Ashish Gupta <ashish@getcollate.io>
2024-09-16 11:36:31 +05:30
Ashish Gupta
08c13e5333
playwright improvement in activity feed spec (#17842) 2024-09-15 19:43:21 +05:30
Ashish Gupta
15a6b4b2cd
migrated team spec to playwright (#17838)
* migrated team spec to playwright

* migrate teams spec

---------

Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2024-09-13 23:43:24 +05:30
Karan Hotchandani
9471ddd52e
fix playwright test issues (#17836)
* fix playwright test issues

* cleanup

* fixed wait issue in test cases spec

* fix AddRoleAndAssignToUser spec failure

---------

Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
2024-09-13 20:12:56 +05:30
Aniket Katkar
c7dd060607
Minor: Alert e2e playwright migration (#17664)
* Fix the alert details page disabled edit action

* Localization change for other languages

* Migrate Alert cypress to playwright

* remove the cypress and fix ObservabilityAlert spec
2024-09-13 19:15:35 +05:30
Ashish Gupta
dbbd932cf7
migration: fully migrated customize landing page to playwright (#17803)
* fully migrated customize landing page to playwright

* changes made as per comments
2024-09-13 14:46:30 +05:30
Shailesh Parmar
0e75a9cceb
playwright: migrate permission spec to playwright (#17795)
* playwright: remove organisation policy and role before staring the playwright test

* added default role as data consumer

* fixed failing test

* keeping org policies as it is.

* migrate permission spec

---------

Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
2024-09-13 11:24:28 +05:30
Karan Hotchandani
67820a2aa7
fix playwright tests for search and owners (#17816)
* fix playwright tests

* fix tests

* fix minor tests
2024-09-13 01:46:05 +05:30
Shailesh Parmar
fda7e1ecb9
playwright: fixed failing aut test in main (#17818)
* playwright: fixed failing aut test in main

* fix myData spec failure

---------

Co-authored-by: Ashish Gupta <ashish@getcollate.io>
Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
2024-09-12 23:42:20 +05:30
Ashish Gupta
5c7ab993e8
modify bot playwright test to stepper mode from parallel (#17811)
* skip bot playwright test

* change spec from parallel mode to stepper mode with the default admin account

---------

Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2024-09-12 20:41:51 +05:30
Ashish Gupta
fd2b080ed6
migrated myData spec to playwright (#17808)
* migrated myData spec to playwright

* remove unwanted test block
2024-09-11 18:58:11 +05:30
Shailesh Parmar
25ff2d7b9c
#1654 Add a search field in Profiler & Data Quality (#17785)
* #16547 Add a search field in Profiler & Data Quality

* fixed failing playwright test

* fixed unit test
2024-09-11 16:35:28 +05:30
Ashish Gupta
5cb897fc28
migrated team-drag-drop spec in playwright (#17780)
* migrated team-drag-drop spec in playwright

* remove the cypress file since the migration is done
2024-09-11 07:27:33 +00:00
Ashish Gupta
d904fe2b10
migrated TeamHierarchy cypress to playwright (#17759) 2024-09-09 13:16:43 +05:30
Shailesh Parmar
ae9de3057d
Migrate: tags spec to playwright (#17758) 2024-09-09 11:48:27 +05:30
Shailesh Parmar
2dd7892183
Migrate: Data quality and profiler test to playwright (#17705)
* Migrate: Data quality and profiler test to playwright

* migrate profiler ingestion

* migrated test cases to playwright

* migrate filter test from data quality

* migrate domain filter test
2024-09-07 16:18:10 +00:00
Shailesh Parmar
7a065aedc7
playwright: fixed failing AUT test incidentManager and queryEntity (#17749)
* playwright: fixed failing AUT test incidentManager and queryEntity

* remove flakiness by adding manual wait in service ingetion
2024-09-07 14:28:04 +00:00
Chirag Madlani
b9ef8cae30
fix playwright redshift delete entity failure (#17743)
* fix playwright redshift delete entity failure

* fix landing page kpi failure

* fix delete service issue

* fix flaky for AddRoleAndAssignToUSer
2024-09-06 17:32:53 +05:30
Ashish Gupta
f846a8ac2e
fix user spec flaky playwright test (#17684)
* fix user spec flaky playwright test

* fix bot spec failure

* fix glossary and version spec failure due to id change in the PR

* fixed queryEntity spec

---------

Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
2024-09-05 11:27:41 +05:30
Karan Hotchandani
1dc15bc493
fetch domains before any widget is loaded (#17695)
* fix domain init ordering

* move domains call at the beginning

* fix tests

* fix tests

* fix flaky tests

* fix flaky tests
2024-09-05 10:05:54 +05:30
Chirag Madlani
b86f3d8ae7
minor(test): migrate persona spec (#17701)
* minor(test): migrate persona spec

* remove persona cypress spec

* address comments
2024-09-04 17:15:40 +00:00
Chirag Madlani
ca48433ad9
fix(test): ingestion related playwright (#17674)
* fix(test): ingestion related playwright

* fix failing tests

* update status logic to avoid conflict

* fix double run issue for ingestion

* fixing ingestion specs

* fix postgres and ingestion

* running ingestion specs

* fix airflow and argo gaps

* revert config

* fix redshift dbt tests
2024-09-04 19:02:30 +05:30
Karan Hotchandani
a63ad69100
Migrate advanced search tests (#17666)
* migrate advanced search tests

* verify advanced search tests

* fix minor config

* push fixes

* add before all timeout

* increase test timeout

* revert playwright config

* add rule based search

* migrate group tests
2024-09-03 18:59:58 +05:30
Shailesh Parmar
0a9e0d00d4
playwright: migrate incident manager test to playwright (#17657)
* playwright: migrate incident manager test to playwright

* migrate remaining test to playwright

* added serial mode to prevent load while deploying pipeline
2024-09-03 12:25:16 +05:30
Ashish Gupta
d952c1bd1e
migrated cyprss Bots spec to playwright (#17673) 2024-09-02 23:50:54 +05:30
Ashish Gupta
d74cbed6e6
migrated user spec to playwright (#17652)
* migrated user spec to playwright

* optimization around making dataStewardUser from userClass

* changes as per comments
2024-09-02 10:43:33 +05:30
Chirag Madlani
000996cfef
test(e2e): service ingestion and schedule options (#16846)
* test(e2e): service ingestion and schedule options

* fix tests

* minor change

* remove duplicate code

* update specs

* update timeout to 2 mins

* Fix invalid wait issue

* fix page getting closed issue

* fix failing tests

* fix tests

* fix test

* fix schedule fix

* fix status is undefined

* fix more tests

* enable airflow spec

* fix typo in service names

* update details

* minor fix

* fix test and remove cypress reference

* fix failing tests

* revert tags check

* fix tests

* fix redshift tests

* fix failing tests

* revert yaml file changes
2024-08-31 11:05:26 +00:00
Shailesh Parmar
3a5539eb1c
PW: migrate query entity spec to playwright (#17619)
* PW: migrate query entity spec to playwright

* migrated to playwright

* minor test fix

* fixed api waiting issue

* fixed the api issue

* fixed API response await

* fixed await issue
2024-08-31 13:18:25 +05:30
Ashish Gupta
a79a9032ce
migrated task cypress spec in Activity feed playwright (#17618) 2024-08-29 15:12:32 +05:30
Karan Hotchandani
23096fa2f3
migrate glossary tests to playwright (#17617)
* move glossary tests to playwright

* fix tests
2024-08-29 11:38:31 +05:30
Karan Hotchandani
d6c5193dd1
add playwright for sorted owners (#17600)
* add playwright for sorted owners

* fix minor test id
2024-08-27 16:12:27 -07:00
Sweta Agarwalla
11eafdd724
Add tests for roles playwright (#17572)
* add roles test in playwright

* updated as per feedbacks

* chore: Improve visibility of added policies in Roles page

---------

Co-authored-by: Sachin Chaurasiya <sachinchaurasiyachotey87@gmail.com>
2024-08-24 14:11:48 +05:30
Karan Hotchandani
6ca44d2130
explore tree feedbacks add tests for domain propagation (#17506)
* add tests for domain propagation

* show counts for static items in tree

* fix the wrong query being generated after expanding node, added filter on node click entity level, supported FQN in the suggestion for all entities

---------

Co-authored-by: Ashish Gupta <ashish@getcollate.io>
2024-08-21 21:51:32 +05:30
sonika-shah
d31215e72c
Fix: Remove unintended inclusion of child aliases after cluster after changes (#17472)
* Fix: Remove unintended inclusion of child aliases after cluster alias update

* fix the dataAssetWidget and entityDoc playwright failure

---------

Co-authored-by: Ashish Gupta <ashish@getcollate.io>
2024-08-21 15:03:21 +05:30
Aniket Katkar
2bbf60fc6b
Fix #17438: Update the user profile action permissions (#17492)
* Fix the ingestion failure error message

* Remove the 'Add Display Name' text on user profile page when no display name is present

* Only allow logged in user to change the description of their profile

* Update the unit tests for new changes

* Add user description mock constant

* Add playwright test for the user display name and description permissions

* fix cypress, playwright test and remove displayName element from DOM if not present

* fix playwright failure due to displayName removal from DOM

---------

Co-authored-by: Ashish Gupta <ashish@getcollate.io>
2024-08-20 14:55:17 +00:00
Ashish Gupta
bcc07173fa
remove edit button from team type group and fix color of button (#17478) 2024-08-18 22:05:08 +05:30
Ashish Gupta
64c527a734
supported separate call for open and close task in activity feed (#17451) 2024-08-15 02:29:50 +00:00
Aniket Katkar
d77aac425f
Minor: Add playwright test for entity pages with users with different roles (#17316)
* Add playwright test for a user with DataConsumer role

* Add entity tests for Data Steward role

* Fix flaky playwright tests

* Fix the playwright for owner actions

* playwright config change and minor fix

* minor testing

* minor setting change

* Worked improvement comments.

* Fix glossary spec flakiness with Assets count verification step `Rename the same entity again`

* Improved util function argument types

---------

Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2024-08-13 18:43:03 +05:30
Karan Hotchandani
0596c2e59b
Fix Tag updation message and update lineage edges opacity (#17386)
* fix domain tests

* fix confirmation message

* reduce opacity of untraced edges

* remove domain spec
2024-08-11 11:25:58 +00:00
Ashish Gupta
785e450e28
MINOR: fix the widget placement when adding new one (#17329)
* fix the widget placement when adding new one

* fix the widget not adding in the right side add placeholders

* added unit test for the same

* fix sonar
2024-08-10 21:39:27 +05:30
Karan Hotchandani
cf6f2e6c2f
support nested subdomains (#17363)
* support nested subdomains

* fix domain tests

* feedbacks
2024-08-10 18:00:42 +05:30
Sachin Chaurasiya
c6ee207837
minor: add encoding and decoding for policy rule name (#17344)
* minor: add encoding and decoding for policy rule name

* move encoding logic to util method

* refactor: move the constant to separate file

* chore: Remove unnecessary wait for timeout in Policies.spec.ts
2024-08-10 10:13:24 +05:30
Shailesh Parmar
f7a7529461
playwright: migrate custom metric spec (#16690)
* playwright: migrate custom metric spec

* fixed customMetric failure
2024-08-08 10:43:36 +05:30
Karan Hotchandani
c6e7fe9423
Domain restriction for non domain entities (#17314)
* add forbidden handling of entities

* add forbidden page

* move forbidden page to authenticated app router

* fix domain tests
2024-08-07 16:50:17 +05:30
sonika-shah
b6d3a2fbb3
Explore tree improvements (#17277)
* Explore tree improvements backend changes

* supported resizeable left panel in explore page

* change the more button feel to text

* fix playwright test for multi-owner

* minor changes

* fix playwright test

---------

Co-authored-by: Ashish Gupta <ashish@getcollate.io>
2024-08-07 08:40:13 +02:00
Shailesh Parmar
e97300dc5d
Minor: fixed AUT test of main (#17293) 2024-08-06 10:37:04 +05:30
Ashish Gupta
dd8158552c
ISSUE : fix teams page breaking issue (#17268)
* fix teams page breaking issue

* minor changes

* unpushed file

---------

Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
2024-08-02 22:46:51 +05:30
Chirag Madlani
b5ea73ef47
test(e2e): Data insight page tests (#17236)
* test(e2e): Data insight page tests

* address comments and fix tests

* fix failing test

* fix start time

* fix tier card test failure

* fix DI running issue in test

* update patch req

---------

Co-authored-by: ulixius9 <mayursingal9@gmail.com>
2024-08-02 11:05:45 +05:30
Mohit Yadav
f07daae196
[RbacDomain] RBAC with Domain Restrictions (#16586)
* Add domain field to entity jsons

* add subdomains ui

* Add Domain To create Request

* Typo fix

* commit progress

* allow multiple domains

* - add userDomains and teamDomains

* - Restrict Api Access

* allow multiple domain support

* - Add Listing Restricition
- Add Search Restrictions

* - Field Fix

* - Inherit Team Domains

* remove glossary filter from ui

* - Fix Tag and User Filter

* - Id -> FQN in create

* - Missing domain on indexes

* add domain in creation of team, user and glossary

* fix merge conflicts

* fix feedbacks

* fix tests

* add domain playwright

* minor changes

* fix domain fetching calls

* Add Thread Listing with EntityDomain

* Fixes for Team Join

* Mkae list mutable

* Add missing import

* Fix Team Test

* User Test case fix

* Fix User Domain

* Minor bug fixes related to sub domains

* Fix data retaining in add sub domain modal after closing

* fix NavBar unit test

* Make Domain Access Work Via Policies

* Fix errors introduced after conflict resolutions

* update render function in SubDomainsTable.component.tsx to accept an array of owners instead of a single owner

* fix java checkstyle

* fix py-test

* format

* Fix the domain e2e owner field type

* Fix Failing Tests

* fixed pytest list index

* update userDomains and teamDomains to domains

* Entity Domain to Domain for thread and changeEvent

* FIx fields

* @Ovveride

* FIx

* Remove Duplicate Field

* Remove Duplicate Field

* Fix Failing Test

* fix domain related changes

* fix subdomains loader

* Fix Owners Order

* Enforce Domain Permissions

* fix domain cleanup

* Fix Test

* rever owner change

---------

Co-authored-by: karanh37 <karanh37@gmail.com>
Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com>
Co-authored-by: Pere Miquel Brull <peremiquelbrull@gmail.com>
Co-authored-by: sonikashah <sonikashah94@gmail.com>
Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com>
Co-authored-by: Onkar Ravgan <onkar.10r@gmail.com>
Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com>
2024-08-02 10:16:14 +05:30
Ashish Gupta
62c51e284d
PLAYWRIGHT: fix activity feed and Entity spec playwright failure (#17237)
* fix activity feed playwright failure

* fix entity owner spec failing
2024-07-31 15:24:17 +05:30