Browse Source

fix VRT spec

Yuki Takei 4 years ago
parent
commit
b9471d6700
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/app/test/cypress/integration/6-home/home.spec.ts

+ 1 - 1
packages/app/test/cypress/integration/6-home/home.spec.ts

@@ -62,10 +62,10 @@ context('Access User settings', () => {
     cy.get('.toast').should('be.visible').invoke('attr', 'style', 'opacity: 1');
     cy.screenshot(`${ssPrefix}-external-account-3`);
     cy.get('.toast-close-button').click({ multiple: true }); // close toast alert
+    cy.get('.toast').should('not.exist');
     cy.getByTestid('grw-associate-modal').find('.close').click();
     cy.screenshot(`${ssPrefix}-external-account-4`);
 
-    cy.get('.toast-close-button').click({ multiple: true }); // close toast alert
     cy.get('.toast').should('not.exist');
 
     // Access Password setting