|
|
@ -183,7 +183,7 @@ Cypress.Commands.add("openTableTab", (tn, rc) => { |
|
|
|
|
|
|
|
|
|
|
|
Cypress.Commands.add("closeTableTab", (tn) => { |
|
|
|
Cypress.Commands.add("closeTableTab", (tn) => { |
|
|
|
cy.task("log", `[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(); |
|
|
|
cy.get(`[href="#table||||${tn}"]`).find("button.mdi-close").click(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|