301 Commits

Author SHA1 Message Date
Ashish Gupta
647bab6019
#18008: global search should persist quick filter in explore (#19611)
* gloabl search should have applied quick filter

* added playwright test for it
2025-01-31 22:16:47 +05:30
Ashish Gupta
bef4b1f6a3
fix tags page flaky playwright test (#19582) 2025-01-30 17:10:41 +05:30
Shrushti Polekar
d1710c8125
Fix #19068: While user in Pagination, Browser Back button takes them to start page (#19229)
* fix browser back btn issue related to pagination

* common function to handle cursor based data fetches

* Revert "common function to handle cursor based data fetches"

This reverts commit a585f3aaec49c966ae8c1aa5436d41c2456073c5.

* updated usePaging hook to store and retrieve cursor

* address PR comments

* address pr comments

* refactor handle paging cursor

* updated handlPageChange to setPage and cursorValues

* used useCustomLocation inplace of useLocation

* added Pagesize and refactor the history state object

* issue fix

* handle filter issue

* address pr comments

* fix failing unit test cases

* fix sonarqube issue

* address pr comment

* address pr comment

* added useTableFilters hook

* address pr comments

* update useTableFilter to handle multiple query params

* update useTableFilter

* fix failing unit test

* address pr comments

* address pr comments

* playwright test cases

* address pr comments

* issue fix

* issue fix

* revert generated file changes

* address pr comment for playwright test

* minor fix

* fix breadcrumb issue

* revert location changes

* address pr comment

* fix failing e2e test

---------

Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
2025-01-29 11:36:19 +00:00
Ashish Gupta
3924e58073
MINOR: fix the lineage and DataAssetsWidget flaky playwright test failure (#19560)
* fix the lineage flaky test failure

* fix the DataAssetsWidget falky test failure

* fix falky test around the pipeline modal and teams
2025-01-29 11:38:01 +05:30
Aniket Katkar
cb9b5d4a62
Increase the test timeout for advanced search playwright tests to avoid AUT flakiness (#19555) 2025-01-28 15:29:45 +05:30
sonika-shah
5b63c36ef1
Fix #19116 : Support for domain hierarchy listing (#19191)
* Backend support for domain hierarchy listing

* use linkedHashmap to maintain order of results in hierarchy

* Revert changes to generated files to match main

* show all domains for non admin user

* change select domain layout

* fix multiple save

* fix playwright

* cleanup

* fix domain tests

* fix domain tests

* fix icon styling

* show icons on navbar domain list

* update tests

---------

Co-authored-by: karanh37 <karanh37@gmail.com>
Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com>
2025-01-27 15:43:42 +05:30
Siddhant
473688648b
Fix #18834: Introduce new setting OpenMetadataBaseUrlConfiguration to set the server endpoint (#19366)
* Refactor: Introduce openMetadataBaseUrlConfiguration to set up the server endpoint and remove OpenMetadataUrl from smtpSettings.json

* migrations.

* refactor(cli): add setOpenMetadataUrl command to store OpenMetadata URL

* refactor(cli): add configureEmailSettings command to manage SMTP/Email configuration

* load initialData when config is not present in the db

* add om url settings page

* update locales

* add e2e

* load omBaseUrl with default host and port: localhost:8585 when not present

---------

Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com>
Co-authored-by: karanh37 <karanh37@gmail.com>
2025-01-27 10:20:04 +05:30
Chirag Madlani
1e7377c2e4
fix(ui): infinite loading for refresh attempted on app visit (#19491)
* fix(ui): infinite loading for refresh attempted on app visit

* add tests for refresh logic

* added test for validating after refresh behavior

* improve test for refresh scenario
2025-01-24 11:16:19 +05:30
Shrushti Polekar
b3d00077cc
fix failing e2e test for customize page landing (#19490) 2025-01-24 10:58:51 +05:30
Pranita Fulsundar
4059df8843
fix: edit description permission for domain owner (#19475)
* fix: edit description permission for domain owner

* fix: usage of permissions prop

* test: fix unit test and add e2e test for edit description

* refactor: remove editCustomAttributePermission and viewAllPermission props

* fix: e2e test for edit description

* fix: playwright tests

* fix: update e2e test for edit description
2025-01-23 18:56:46 +05:30
Ashish Gupta
c406cceb9a
#19432: fix the description renderer in glossary import (#19450)
* fix the description renderer in glossary import

* added test for the same
2025-01-22 16:22:44 +05:30
Ashish Gupta
5e7847e2f5
fix the description not rendered in Glossary Modal while edit (#19453) 2025-01-21 12:42:23 +05:30
Chirag Madlani
58b1ef1c03
fix(test): rest api service deletion taking longer (#19439)
* fix(test): rest api service deletion taking longer

* fix entity name with schema
2025-01-21 11:42:38 +05:30
Chirag Madlani
00a37c6180
Fix(ui): refresh call concurrency for multiple browser tabs (#19303)
* fix(ui): refresh auth token for multi browser tabs

* update refresh logic

* fix multiple tab issue

* fix tests

* added tests

* fix ingestion bot failure

* fix sonar cloud

* update test description

* remove unused code and reset test on after all

* bump playwright

* avoid running refresh tests as it's been flaky for postgres

* revert playwright version bump changes

* Put 500 status

---------

Co-authored-by: mohitdeuex <mohit.y@deuexsolutions.com>
2025-01-20 23:31:56 +05:30
Ashish Gupta
57ed033703
#19406: supported the task filter on landing page widget (#19431)
* supported the task filter on landing page widget

* added playwright for the test
2025-01-20 22:45:17 +05:30
Aniket Katkar
0a27294df8
Minor: Improve cron expression validations (#19426)
* Update the cronstrue package version

* Update the cron validation util function to cover more validation cases

* Add tests for the cron validations

* Localization changes
2025-01-20 10:32:53 +05:30
Aniket Katkar
8bbc594588
Fix the permissions call made for search service (#19430) 2025-01-19 01:17:02 +05:30
Aniket Katkar
7fea955338
Tests #19066: Playwright coverage for ViewAll rule with matchAnyTag() and isOwner() condition (#19374)
* Modify the setup for the tests and add teardown to reset the organization policies

* Fix the loader shown in case of no permission

* Add playwright tests to cover the viewAll permission with conditions

* Add description for the commented code
2025-01-17 09:08:54 +05:30
Karan Hotchandani
6f63a51024
fix glossary playwright (#19394)
* fix glossary tests

* fix glossary test

* Update GlossaryPagination.spec.ts
2025-01-16 16:06:46 +05:30
Ashish Gupta
58f95e9e98
MINOR: fix the wrong team count displayed on team tab (#19368)
* fix the wrong team count displayed on team tab

* added playwright test for checking counts
2025-01-15 17:47:53 +05:30
Shailesh Parmar
7d30995399
playwright: fixed failing incident manager test (#19367) 2025-01-15 14:56:40 +05:30
sonika-shah
788dfc331f
dataProduct : get inherited fields from corresponding Domain (#19343)
* dataProduct : get inherited fields from corresponding Domain

* add tests

---------

Co-authored-by: karanh37 <karanh37@gmail.com>
2025-01-14 22:16:23 +05:30
Karan Hotchandani
94cbadb772
fix glossary tests (#19352) 2025-01-14 21:44:40 +05:30
Chirag Madlani
9f19b42668
test(e2e): fix flaky searchIndexApplication.spec.ts (#19318) 2025-01-11 11:15:16 +05:30
Ashish Gupta
0e9c32cdb8
PLAYWRIGHT: fix flaky playwright test (#19309)
* fix user detail flaky playwright test

* fix the glossary flaky by adding await due to timeout
2025-01-10 17:23:23 +05:30
Chirag Madlani
8599aab9b4
fix(ui): update glossary term table upon new term added (#19296)
* fix(ui): update glossary term table upon new term added

* fix the active tab getting change and added the playwright test

---------

Co-authored-by: Ashish Gupta <ashish@getcollate.io>
Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com>
2025-01-10 10:33:55 +05:30
Pranita Fulsundar
fa6886b79e
fix: reference table dropdown in add and edit query forms (#19026)
* fix: reference table dropdown in add and edit query forms

* fix: show full value of fqn

* fix: e2e test for create new query

* fix: e2e test for edit query

* fix: optionLabelProp value

* fix: optionLabelProp value to AsyncSelect component

---------

Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2025-01-08 15:27:20 +05:30
Sriharsha Chintalapani
490ebdebc3
Issue-19197: Deleting Data Product should delete the data asset relationships (#19208)
* Issue-19197: Deleting Data Product should delete the data asset relationships

* Issue-19197: Deleting Data Product should delete the data asset relationships

* Minor: Fix the deleteByName

* add tests for data product delete case

* fix flaky tests

* update data products fqn keyword mapping

* Update table_index_mapping.json

* fix flaky test

* fix tests

* fix flaky tests

* fix flakiness

---------

Co-authored-by: karanh37 <karanh37@gmail.com>
Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com>
2025-01-08 15:08:08 +05:30
Ashish Gupta
2179b43232
fix the search for custom properties in advance search for some types (#19113)
* fix the search in advance search custom properties

* modify v1/metadata/types/customProperties api to get customPropertyConfig along with name and type

* added config list in the entity ref list

* fix type of duration, timestamp and other types

* minor ui changes

* remove customProperty type which are not supported for now

* added playwright test around the duration type property

* fix flaky test

---------

Co-authored-by: sonikashah <sonikashah94@gmail.com>
2025-01-08 11:08:34 +05:30
Sweta Agarwalla
1e1ef473d7
FIX: Update glossary listing (#18880)
* update fetch glossary function

* fix minor issues

* fix add glossaries issue

* fix delete issue

* update glossary listing

* update glossary

* refactor

* updated glossary listing issues

* add scrollIntoView

* update glossary

* fix fetching logic

* fix init of glossaries

* add playwright tests

* add timeout

---------

Co-authored-by: karanh37 <karanh37@gmail.com>
Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com>
2025-01-08 01:03:43 +05:30
Pere Miquel Brull
e56f477a4a
Fix #19147 - Executable Test Suites (#19221)
* backend

* format & tests

* rename backend

* migrations and ingestion

* format & tests

* format & tests

* tests

* format & tests

* tests

* updated ui side of changes

* addressing comment

* fixed failing unit test

* fix test list

* added e2e test, and fixed existing test

---------

Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2025-01-07 17:59:54 +01:00
Sweta Agarwalla
0a1ab95f8b
Add utils for login as admin (#19223)
* add utils for login as admin

* update as per comments

* fix java checkstyle issue

---------

Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2025-01-06 13:58:13 +05:30
Ashish Gupta
9edc078027
MINOR: modify and fix some lineage issues (#19107)
* modify and fix some lineage issues

* minor fix

* restrict the node removal in case any error occured

* fix flaky playwright test

* userDetail flaky fix
2025-01-03 10:35:26 +05:30
Chirag Madlani
cdef12c9cd
feat(ui): show count with schema tab for table details page (#19149)
* feat(ui): show count with schema tab for table details page

* fix active state for tab

* fix tests and cover topic details page

* add missing isActive check
2025-01-03 10:19:16 +05:30
Ashish Gupta
87c07f3ecc
#16465 : supported glossary table column resizable (#17918)
* supported glossary table column resizable

* code cleanup

* fix the column resizing affecting other column width

* fix the playwright failure around the glossary due to re-sizable added
2025-01-03 10:09:33 +05:30
Ashish Gupta
ceeba2ad75
fix tag page flaky playwright test (#19150)
* fix tag page flaky playwright failures

* removed commented code
2024-12-31 17:12:15 +05:30
Sachin Chaurasiya
4f3ae5d083
feat(#15380): replace description editor with block editor (#19003)
* feat(#15380): replace the description editor with a new block editor.

* chore: Add placeholder support to BlockEditor

* feat: Add autofocus support to BlockEditor

* chore: implement block editor in richtext editor

* chore: Remove unused CSS import in RichTextEditor

* fix: ensure safe access to getEditorContent in Markdown editor components

* minor change

* fix: add support for ttf file extension in pom.xml

* fix: adjust block editor styles for better usability and overflow handling

* fix: update RichTextEditorPreviewer to RichTextEditorPreviewerV1 and adjust block editor styles

* fix: update description box selector to use om-block-editor for consistency

* fix: disable autoFocus on BlockEditor in RichTextEditorPreviewerV1

* refactor: update RichTextEditorPreviewer references to RichTextEditorPreviewerV1 in tests

* test: update timer handling in ApplicationCard and SuggestionsAlert tests

* fix(diff): update diff view rendering and attributes for consistency

* fix(RichTextEditor): add placeholder for empty markdown descriptions

* Add data-diff in <span>

* Fix test

* fix: update description box selector to use locator method for better reliability

* feat: integrate RichTextEditorPreviewerV1 for description rendering in Notification and Observability Alerts pages

* feat: add markdown conversion for mentions and hashtags in BlockEditorUtils

* fix: update initial value handling in TagsForm and formUtils

* MINOR - Update description handling in Playwright tests and utilities

* Refactor Playwright tests to use descriptionBox for tag and team descriptions

* Refactor custom property handling and update description check logic

* Enhance entity version page tests by adding description box read-only check and updating data-testid attributes

* Refactor description handling and improve diff rendering logic in task pages

* Fix user description clearing logic in UserDetails.spec.ts

* Enhance Rich Text Editor by adding custom styles and converting markdown to HTML for backward compatibility

* Remove test for rendering alert description when not present in AlertDetailsPage

* Clean up RichTextEditorPreviewerV1 by removing unnecessary comments and improving readability

* Update SearchIndexApplication.spec.ts to select 'Table' instead of 'Topic' in the tree widget

* Refactor BlockEditor and FeedUtils to improve code organization and readability

* Fix regex in getTextFromHtmlString to correctly remove HTML tags

* Add tests for getTextFromHtmlString and improve HTML tag removal regex

---------

Co-authored-by: mohitdeuex <mohit.y@deuexsolutions.com>
2024-12-27 20:57:37 +05:30
Shailesh Parmar
f87b0662fa
playwright: reset the profiler bot token in AUT (#19156)
* playwright: reset the profiler bot token in AUT

* addressing comment
2024-12-20 20:19:11 +05:30
Karan Hotchandani
9a76b07025
Fix flaky e2e tests (#19038)
* fix lineage flaky tests

* fix glossary flakiness
2024-12-19 23:05:55 +05:30
Ashish Gupta
7d962d91eb
fix table page breaking due to highligther text (#19146) 2024-12-19 22:45:45 +05:30
Chirag Madlani
4d30c83c55
fix(ui): sync search value with url and state value (#19050)
* fix(ui): sync search value with url and state value

* fix flaky for user spec
2024-12-16 21:02:16 +05:30
Pranita Fulsundar
57e814c15d
test(e2e): Explore page tests (#19074)
* test: add e2e tests

* test for listing of entities when index is dataAsset and all

* fix: validateBucketsForIndex function

* fix: add expect to bucket and its doc_count
2024-12-16 15:47:35 +05:30
Chirag Madlani
605d205f8b
test(e2e): Ingestion bot e2e tests (#19055)
* test(e2e): domain ingestion tests
support for ingestionBot login in playwright

* added tests

* add ingestion bot tests

* update bot tests

* revert unwanted changes

* comment skipped test

* check for service within domain
2024-12-16 15:41:36 +05:30
Ashish Gupta
9e6078f654
supported editUser permission in user tab for team page (#18987)
* supported editUser permission in user tab for team page

* remove edit all permission check in teams add/remove user api

* added playwright test for the editUser permission

* Added playwright test for data consumer user and remove no used field from the advance api call

---------

Co-authored-by: sonikashah <sonikashah94@gmail.com>
Co-authored-by: sonika-shah <58761340+sonika-shah@users.noreply.github.com>
2024-12-13 23:41:40 +05:30
Sweta Agarwalla
ae046c502d
Update auth test (#19031) 2024-12-13 09:41:09 +05:30
Aniket Katkar
4f9627d860
Fix the flaky Tag.spec.ts test (#18984) 2024-12-11 19:56:42 +05:30
Mohit Yadav
08cdc69f30
Fix ES Tag Index failing (#18991)
* Fix ES Tag Index failing

* add tags loading test

---------

Co-authored-by: karanh37 <karanh37@gmail.com>
2024-12-10 21:10:58 +05:30
Mohit Yadav
5263858067
Create Change Events on import and update in es (#18953)
* Create Change Events on import and update in es

* add glossary tests

* minor test cleanup

* Make Change Event Update Async

* Fix Test case

---------

Co-authored-by: karanh37 <karanh37@gmail.com>
Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com>
2024-12-09 07:45:33 -08:00
Shailesh Parmar
7d7bc5b48b
playwright: fixed aut failure in playwright (#18958)
* playwright: fixed aut failure in playwright

* Temporarily increased the timeout for lineage tests which timeout often

* Fix the flaky tests

* removing linage changes

---------

Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com>
2024-12-09 18:03:13 +05:30
Sweta Agarwalla
5e525153a5
Fix: Minor glossary term issues (#18937)
* fix minor issues

* add test for glossary term

* add reviewer test

* fix glossary term test
2024-12-06 11:59:23 +05:30