fix(cypress): Added waiting to closing Auth tab

This commit is contained in:
Muhammed Mustafa
2022-09-26 18:09:32 +05:30
committed by braks
parent d467fff3a5
commit e600c47ed6
2 changed files with 5 additions and 2 deletions

View File

@@ -239,8 +239,9 @@ export const genTest = (apiType, dbType) => {
cy_createProjectBlock(proj, apiType, dbType);
}
cy.wait(2000);
// close team & auth tab
cy.get("button.ant-tabs-tab-remove").should("exist").click();
cy.get("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