mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-30 06:06:36 +00:00
test: wait for tab to render
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
This commit is contained in:
@@ -240,7 +240,13 @@ export const genTest = (apiType, dbType) => {
|
||||
}
|
||||
|
||||
// close team & auth tab
|
||||
cy.getSettled("button.ant-tabs-tab-remove").should("be.visible").click();
|
||||
|
||||
// wait for tab to be rendered completely
|
||||
cy.wait(2000);
|
||||
|
||||
cy.getSettled("button.ant-tabs-tab-remove")
|
||||
.should("be.visible")
|
||||
.click();
|
||||
cy.get("button.ant-tabs-tab-remove").should("not.exist");
|
||||
|
||||
// first instance of updating local storage information
|
||||
|
||||
Reference in New Issue
Block a user