[Bug report] CatalogsPageTest.testSelectMetalake times out waiting for empty table state
- Dominant language
- Java
- Stars
- 3.2k
- Forks
- 935
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 298
Description
### Version
branch-1.3 (PR #12251)
### Describe what's wrong
The Frontend Integration Test fails in `CatalogsPageTest.testSelectMetalake()`.
After switching to `metalake_select_name`, `verifyEmptyTableData()` cannot find the expected Ant Design empty-table element within 60 seconds and returns `false`.
The table should display an empty state after switching to a metalake that has no catalogs.
### Error message and/or stacktrace
```text
CatalogsPageTest > testSelectMetalake() FAILED
org.opentest4j.AssertionFailedError: expected: but was:
at org.apache.gravitino.integration.test.web.ui.CatalogsPageTest.testSelectMetalake(CatalogsPageTest.java:601)
Caused by:
org.openqa.selenium.TimeoutException:
Expected condition failed: waiting for visibility of element located by
By.xpath: //div[@data-refer='table-grid']//div[contains(@class, 'ant-empty')]
(tried for 60 second(s) with 500 milliseconds interval)
at org.apache.gravitino.integration.test.web.ui.pages.CatalogsPage.verifyEmptyTableData(CatalogsPage.java:1079)
```
CI job:
https://github.com/apache/gravitino/actions/runs/30534053855/job/90845587766
### How to reproduce
Run the frontend integration tests against PR #12251:
```bash
GRAVITINO_USE_WEB_V2=true ./gradlew -PskipTests -PtestMode=deploy \
-PskipDockerTests=false :web-v2:integration-test:test
```
The CI run completed 51 tests with `testSelectMetalake()` as the only failure.
### Additional context
- Pull request: https://github.com/apache/gravitino/pull/12251
- Runner: Ubuntu 24.04, Java 17.0.20
- Browser: Chrome/ChromeDriver 145.0.7632.46
- The failure occurred on a PR that changes metalake-fetch timing, but causality has not yet been confirmed.
Contributor guide
Assessment
This issue has not been assessed yet.