diff --git a/web/integration-test/src/test/java/org/apache/gravitino/integration/test/web/ui/pages/CatalogsPage.java b/web/integration-test/src/test/java/org/apache/gravitino/integration/test/web/ui/pages/CatalogsPage.java index add68777e8d..85e090bcbb1 100644 --- a/web/integration-test/src/test/java/org/apache/gravitino/integration/test/web/ui/pages/CatalogsPage.java +++ b/web/integration-test/src/test/java/org/apache/gravitino/integration/test/web/ui/pages/CatalogsPage.java @@ -704,6 +704,11 @@ public boolean verifyShowPropertiesItemInList( } public boolean verifyShowDataItemInList(String itemName, Boolean isColumnLevel) { + try { + Thread.sleep(ACTION_SLEEP * 1000); + } catch (Exception e) { + LOG.error(e.getMessage(), e); + } WebDriverWait wait = new WebDriverWait(driver, ACTION_SLEEP); String xpath = "//div[@data-refer='table-grid']" @@ -729,6 +734,11 @@ public boolean verifyShowDataItemInList(String itemName, Boolean isColumnLevel) } public boolean verifyNoDataItemInList(String itemName, Boolean isColumnLevel) { + try { + Thread.sleep(ACTION_SLEEP * 1000); + } catch (Exception e) { + LOG.error(e.getMessage(), e); + } String xpath = "//div[@data-refer='table-grid']" + "//div[contains(@class, 'MuiDataGrid-main')]"