yuqi1129 opened a new issue, #12281:
URL: https://github.com/apache/gravitino/issues/12281
### 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: <true> but was: <false>
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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]