mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-25 05:15:58 +00:00
test/fix: wait for project tab to become available
Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
This commit is contained in:
@@ -183,7 +183,7 @@ Cypress.Commands.add("openTableTab", (tn, rc) => {
|
||||
|
||||
Cypress.Commands.add("closeTableTab", (tn) => {
|
||||
cy.task("log", `[closeTableTab] ${tn}`);
|
||||
cy.get(`.project-tab`).contains(tn, { timeout: 10000 }).should("exist");
|
||||
cy.get(`.project-tab`).contains(tn).should("exist");
|
||||
cy.get(`[href="#table||||${tn}"]`).find("button.mdi-close").click();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user