Commit 57e558d
test(domains): fix flaky Rename domain with data products attached at domain and subdomain levels (#27452)
* test(domains): fix flaky "Rename domain with data products attached at domain and subdomain levels"
Two races were observed in CI:
1. renameDomain reloaded the page before the browser URL had been
updated to the new FQN, so the reload hit the old (now 404) URL and
the app redirected to the domains list. Wait for the URL to reflect
the new name before reloading.
2. The search-index reindex for data products can take longer than 30s
when the parent domain is renamed under CI load. Raise the poll
budget to 90s.
* Revert search-index poll timeout bump, keep only URL-wait fix
* Update openmetadata-ui/src/main/resources/ui/playwright/utils/domain.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update openmetadata-ui/src/main/resources/ui/playwright/utils/domain.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>1 parent c2e6d90 commit 57e558d
1 file changed
Lines changed: 9 additions & 1 deletion
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1618 | 1618 | | |
1619 | 1619 | | |
1620 | 1620 | | |
1621 | | - | |
| 1621 | + | |
| 1622 | + | |
| 1623 | + | |
| 1624 | + | |
| 1625 | + | |
| 1626 | + | |
1622 | 1627 | | |
1623 | 1628 | | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
1624 | 1632 | | |
1625 | 1633 | | |
1626 | 1634 | | |
| |||
0 commit comments