Browse Source

fix: CY tab closure handling

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/2576/head
Raju Udava 2 years ago
parent
commit
b9506c31c0
  1. 2
      scripts/cypress/support/commands.js

2
scripts/cypress/support/commands.js

@ -182,6 +182,7 @@ Cypress.Commands.add("closeTableTab", (tn) => {
.should('exist') .should('exist')
.parent() .parent()
.parent() .parent()
.parent()
.find('button') .find('button')
.click(); .click();
@ -412,6 +413,7 @@ Cypress.Commands.add("closeViewsTab", (vn) => {
.should('exist') .should('exist')
.parent() .parent()
.parent() .parent()
.parent()
.find('button') .find('button')
.click(); .click();
}); });

Loading…
Cancel
Save