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

@@ -107,8 +107,10 @@ export class _projectsPage {
cy.wait("@waitForPageLoad");
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");
}