512 Commits

Author SHA1 Message Date
Shailesh Parmar
330c26be92
Refactor Data Quality API endpoints in Playwright tests and support classes to use consistent URL structure for test case results (#21656)
* Refactor Data Quality API endpoints in Playwright tests and support classes to use consistent URL structure for test case results

* Fix API call in TableClass to use POST method for test case results submission
2025-06-10 11:07:32 +05:30
Dhruv Parmar
40aba1d906
Fix(ui): loading issue for react-awesome-query (#21424)
* fixed loading issue for react-awesome-query

* added tests

---------

Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com>
2025-06-09 16:08:56 -07:00
Sriharsha Chintalapani
98aff312da
Fix #21502: TooManyNestedClauses: Query contains too many nested clauses (#21505)
* Fix #21502: TooManyNestedClauses: Query contains too many nested clauses; maxClauseCount is set to 4096 error in table_search_index for complex search queries in Opensearch

* Fix #21502: TooManyNestedClauses: Query contains too many nested clauses; maxClauseCount is set to 4096 error in table_search_index for complex search queries in Opensearch

* Update openmetadata-service/src/test/java/org/openmetadata/service/resources/search/SearchResourceTest.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix mvn build

* fix checkstyle

* fix tests in SearchResourceTest

* fix tests in SearchResourceTest

* instead of wrapping baseQuery+functionScore in a new BoolQuery,use functionScore directly as the final query - avoid duplication of mult_match query

* add requestSchema fields in APIEndpointIndex, and remove array fields in searchSettings to use fuzzyfields avoiding clause explosion

* - Set fuzzyMaxExpansions/maxExpansions to 10 instead of default 50
- Turn off fuzziness (Fuzziness.ZERO) for `.ngram` fields
- Update QUERY_SYNTAX_PATTERN so only uppercase AND, OR, NOT are treated as boolean operators

* use non Fuzzy query for ngram Fields in QueryStringBuilder , remove duplication of query in should phrase

* add fuzzy/nonFuzzy Fields for each asset in searchSettings.json

* add fuzzy/nonFuzzy Fields for each asset in searchSettings.json

* update isFuzzyField function

* fix playwright

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: sonikashah <sonikashah94@gmail.com>
Co-authored-by: sonika-shah <58761340+sonika-shah@users.noreply.github.com>
2025-06-09 16:07:23 -07:00
Harshit Shah
4d85c6c54d
Feat #21116: Support followers for data products and domains (#21602) 2025-06-09 22:31:08 +05:30
Karan Hotchandani
4df290de60
fix tier and tag playwright for Entity.spec (#21633)
* fix playwright

* fix tier playwright

* fix tier tests

* fix tests

* fix tag test

* refactor code for fqn

* minor fix for Glossary.spec

---------

Co-authored-by: Pranita Fulsundar <pfulsundar8@gmail.com>
2025-06-09 19:34:03 +05:30
Shailesh Parmar
436df10a7f
Fix: #21276 Only 3 Comments Shown by Default in Incident View (#21577)
* Fix: #21276 Only 3 Comments Shown by Default in Incident View

* fixed failing unit test

* addressing comments.
2025-06-09 11:22:18 +05:30
Ashish Gupta
78f523fd13
PLAYWRIGHT: fix the bulk action playwright flaky playwright test (#21582)
* fix the bulk action playwright flaky playwright test

* change entity and service.spec user to custom user and add a retry mechnaism for checking soft deleted entity

* try to fix alert not found issue

* remove failure

* fix bot playwright failure
2025-06-08 15:16:52 +05:30
Ashish Gupta
0890791758
#21568: fix the lineage upstream having additional nodes (#21634)
* fix the lineage upstream having additional nodes

* restrict the config value for negative number from lineage page and global setting config

* added playwrigth for lineage page config
2025-06-08 15:15:26 +05:30
Shrushti Polekar
c3eb2eab09
fix activity feed flaky test (#21635) 2025-06-07 23:53:16 +05:30
Shrushti Polekar
d4d1b3ed96
fix flaky user test (#21626) 2025-06-06 20:02:06 +05:30
Dhruv Parmar
1df7aacae4
Fix(ui): Added displayName to add Asset Selection Model (#21544)
* added displayName to add assetmodal

* fixed persona glossery
2025-06-05 12:22:06 +05:30
Karan Hotchandani
f0f1debb6d
fix glossary permission error (#21548)
* fix glossary permission error

* add permission tests

* fix sonar lint
2025-06-04 20:56:00 +05:30
sonika-shah
cc1e8f7b5b
Fix #21430 : Tier tag not updating in search filters (#21499)
* Fix #21430 : Tier tag not updating in search filters

* Fix #21430 : Tier tag not updating in search filters

* add tests

* test: add test for glossary term

* test: add test coverage for all entities

* fix tests

* fix tests

* fix: service entity tests

---------

Co-authored-by: Pranita <pfulsundar8@gmail.com>
Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com>
2025-06-04 14:47:46 +05:30
Ashish Gupta
4703a41c73
MINOR: fix the tags dropdown overlapping if multiple open at a time (#21333)
* fix the tags dropdown overlapping if multiple open at a time

* supported for other entities

* added playwright test

* use the generic provider instead of props

* fix the lineage truncating issue

* fix the playwright test
2025-06-04 10:36:52 +05:30
Pranita Fulsundar
f4720e0cb7
fix(ui): pagination limit for dashboards (#21466)
* fix: pagination limit for dashboards

* add e2e test

* refactor: address pr comments
2025-06-02 09:54:22 +05:30
Aniket Katkar
0dfa61a0cc
Fix(UI): Add agents dropdown not showing auto-classification agent option (#21461)
* Fix the issue with agents list dropdown not showing the auto classification agent when no agents are present.

* Un-skip and fix the auto classification playwright test

* Fix the unit test
2025-06-02 09:02:05 +05:30
Shailesh Parmar
b0ff7887ae
Feat: #21138 Display Test Case Version Change (#21324)
* fix: #21138 Display Test Case Version Change

* Enhance Test Case Version Page: Integrate versioning functionality and update interfaces. Added API calls for fetching test case versions and details, and updated the DataAssetsVersionHeader interface to include TestCase. Improved loading states and error handling in the TestCaseVersionPage component.

* Enhance Incident Manager with version handling and permissions

- Added support for version pages in IncidentManagerPageHeader and TestCaseResultTab components.
- Introduced isVersionPage prop to manage permissions and display logic based on version context.
- Updated IncidentManagerDetailPage to handle version-specific data fetching and display.
- Refactored related components to utilize ChangeDescription for improved data handling.

* Implement parameter value diff display in TestCaseResultTab

- Added a new utility function to compute differences in parameter values.
- Integrated the parameter value diff display into the TestCaseResultTab component.
- Updated Feeds.constants to include PARAMETER_VALUES enum.
- Enhanced EntityVersionUtils with new methods for handling parameter value diffs.

* Enhance Data Quality components with parameter value diff display and styling updates

- Updated EditTestCaseModal to conditionally display test case names.
- Modified IncidentManagerPageHeader to disable compact view.
- Added new styles for version SQL expression display in TestCaseResultTab.
- Refactored TestCaseResultTab to handle parameter value diffs more effectively, including separate rendering for SQL expressions.
- Enhanced utility functions in EntityVersionUtils to support default values in parameter diffs.
- Updated DataQualityUtils to use isNil for better null handling.

* added licence

* updated edit icon and hide incident tab in version view

* Enhance Test Case Versioning: Update routing to support detailed version paths and improve UI styles for version display. Added new route for test case details with version and adjusted related components for better handling of version-specific tabs.

* fix unit test

* added playwright

* resolved sonar cloud issue
2025-05-29 17:54:06 +05:30
Pranita Fulsundar
9dee189e11
feat(ui): permissions errorplaceholder message improvement (#21380)
* feat: permissions errorplaceholder message improvement

* feat: add placeholder message

* add localisation values

* fix: unit tests

* fix sonar issues

* fix tests
2025-05-28 11:09:02 +05:30
Ashish Gupta
1ba3250ffc
fix playwright for entity announcement (#21417) 2025-05-27 19:17:34 +05:30
Dhruv Parmar
182ca660c6
Fix(ui): flaky entity test (#21387)
* fixed flaky entity test

* removed unwanted code
2025-05-27 14:16:51 +05:30
Shailesh Parmar
5f93b1d581
fix: updated snowflake test based on new configs (#21349) 2025-05-22 14:38:08 +05:30
Ashish Gupta
bbffeb87c7
fix the entityRightPanel and serviceEntity playwright spec (#21352) 2025-05-22 14:13:12 +05:30
Chirag Madlani
5cb18f5fa6
test(e2e): add test to validate installed app call (#21337)
* test(e2e): add test to validate installed app call

* nit tr-tr.json
2025-05-21 20:40:49 +05:30
Dhruv Parmar
f9f438fa09
Fix(uI) : Removed collapse button from teams page (#21306)
* removed collapse button from teams page

* removed unwated spacing

* addressed comment

* fixed playwright tests

---------

Co-authored-by: Shailesh Parmar <shailesh.parmar.webdev@gmail.com>
2025-05-21 20:08:12 +05:30
Shrushti Polekar
d5d9a146af
fix(ui): Feeds count not showing up in PipelineDetails page. (#21339)
* fix pipeline feeds count update

* minor update

* added test
2025-05-21 19:52:43 +05:30
Ashish Gupta
82e8358cd9
MINOR: fix the right panel visible after expanded is closed (#21338)
* fix the right panel visible after expanded is closed

* remove the unwanted loops and use leftPanel from above memo
2025-05-21 17:17:25 +05:30
Shrushti Polekar
292c334b0b
Fix(test) : Announcement failing test (#21270)
* fix announcement failing test

* minor fix

* address pr comment

* minor fix

* remove api call wait
2025-05-20 10:41:55 +05:30
Dhruv Parmar
ae73225052
fixed followers test cases (#21282) 2025-05-20 10:23:15 +05:30
Pranita Fulsundar
c4698d4d75
fix(test): flaky glossary version test (#21281)
* fix: glossary version tests

* fix test
2025-05-19 19:58:56 +05:30
Chirag Madlani
0dc2058447
feat(ci): support slack message for OSS playwright run (#21163)
* feat(ci): support slack message for OSS playwright run

* update for slack message

* Update .github/workflows/mysql-nightly-e2e.yml

Co-authored-by: Akash Jain <15995028+akash-jain-10@users.noreply.github.com>

* Update .github/workflows/postgresql-nightly-e2e.yml

Co-authored-by: Akash Jain <15995028+akash-jain-10@users.noreply.github.com>

* fix download report step

* udpate tokens

* fix path issue

* wait for downloads to be completed

* add blob report to reporters

* upload blob reports to artifacts

* fix download step

* update download step for mysql

* fix upload / download approch

* skip tests to fasten testing

* fix ci error

* fix path issue

* fix path

* fix path

* update path

* fix download path

* revert playwright config

* address comments

---------

Co-authored-by: Akash Jain <15995028+akash-jain-10@users.noreply.github.com>
2025-05-19 17:23:54 +05:30
Ashish Gupta
2f795ccc13
fix the flaky test failure around bulk import (#21271) 2025-05-19 15:38:09 +05:30
Dhruv Parmar
c24a2dbdca
fixed BulkEditEntity flaky test (#21209)
* fixed BulkEditEntity flaky test

* fixed enter click issue

* removed changes that does not belongs to me in pr

* removed changes that does not belongs to me in pr

* removed unwated code
2025-05-19 12:09:36 +05:30
Dhruv Parmar
3d2ae8fff6
Fix: Observablity alert flaky test (#21107)
* fixed observity alert flaky test

* fixed timeout issue

* fixed timeout issue

* fixed comments
2025-05-19 11:29:12 +05:30
Teddy
0b483ecb86
ISSUE #21216: added include field to incident list (#21221)
* fix: added include field to incident list

* added ui changes for allowing deleted entries in entity page and fix the count on incident page

* fix: error retrieving soft deleted test cases

* fix: ran java linting

* Update openmetadata-ui/src/main/resources/ui/src/components/IncidentManager/IncidentManager.component.tsx

Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>

* fix testcase playwright

* fix playwright test

---------

Co-authored-by: Ashish Gupta <ashish@getcollate.io>
Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
2025-05-18 21:35:13 +02:00
Chirag Madlani
764b1702b4
fix(test): tags & glossary term failure (#21254)
* fix(test): tags failure

* fix glossary term tests
2025-05-18 13:10:45 +05:30
Chirag Madlani
b74816ceed
chore(ui): update add button styling for expandable cards (#21197)
* chore(ui): update add button styling for expandable cards

* fix tests

* fix test for expandable card

* fix data test id

* fix playwright tests

* fix tests

* fix metric playwright

* fix test
2025-05-16 20:37:22 +05:30
Shrushti Polekar
d24211474d
fix table.spec aut failure (#21213) 2025-05-16 14:04:02 +05:30
Aniket Katkar
8610f0aec4
Chore(UI): Move the useAirflowStatus hook to a context to avoid the multiple API calls (#21021)
* Move the useAirflowStatus hook to a context to avoid the multiple API calls

* Fix the unit test

* Fix playwright

* Fix sonar issues
2025-05-15 21:19:43 +05:30
Shrushti Polekar
f9a26742ec
fix entity summary panel topic aut failure (#21211) 2025-05-15 19:01:16 +05:30
Karan Hotchandani
ca6a16cef2
Lineage edge function (#21199)
* show sql function for column edges

* add locales

* add playwright

* fix lineage positioning

* minor color update
2025-05-15 18:31:36 +05:30
Pranita Fulsundar
eb16d6ac84
chore(ui): fix glossary playwright tests (#21198)
* chore: fix glossary playwright tests

* remove timeout for loader

* fix test
2025-05-15 17:57:03 +05:30
Ashish Gupta
d2162f5db9
FIX: flaky test and ui issues (#21194)
* fix bulk import table entity flaky test

* modify announcement flaky test

* fix the announcement card placement

* fix the button width and height of inline button component
2025-05-15 12:53:15 +05:30
Shrushti Polekar
c2fe354069
Fix: flaky user.spec test (#21191)
* fix flaky user test

* minor fix

* refactor code
2025-05-15 11:37:12 +05:30
Dhruv Parmar
7db45ff637
Fix : database and shcema page followers (#21148)
* database and shcema page followers

* follow unffolow database

* fixed tests

* fixed test

* fixed comments

* removed playwright file

* cleanup code

* cleanup code

* fixed sonar
2025-05-15 10:54:01 +05:30
Pranita Fulsundar
584151d495
chore: fix flaky Entity playwright tests (#21162)
* chore: fix flaky Entity playwright tests

* refactor: remove extra await statements
2025-05-14 16:02:48 +05:30
Shrushti Polekar
c620a631c4
fix flaky activity feed test (#21159) 2025-05-14 14:35:15 +05:30
Shailesh Parmar
a999236026
fix #20933 [UI Bug] Test Case Metrics: Dots are misaligned / unclear in multi-metric view (#21170)
* fix #20933 [UI Bug] Test Case Metrics: Dots are misaligned / unclear in multi-metric view

* fixed failing unit test

* fix: correct label reference in TestCases.spec.ts for strategy selection
2025-05-14 12:42:29 +05:30
Chirag Madlani
3490a06ca2
feat(ui): store user preferences to localStorage (#21128)
* feat(ui): store user preferences to localStorage

* fix domain spec

* fix sidebar causing unwanted failures

* fix playwright
adjust expandable cards

* fix empty condition for cards

* update condition
2025-05-13 17:05:51 +05:30
Pranita Fulsundar
8e1bf1bd19
fix(ui): data products not visible when redirecting from assets listing to entity page (#21143)
* fix: data products not visible when redirecting from assets listing

* remove commented code
2025-05-13 15:34:09 +05:30
Ashish Gupta
78e7e74b2b
PLAYWRIGHT: fix bulk import database flaky test (#21145) 2025-05-12 21:22:13 +05:30