Yuki Takei 4 лет назад
Родитель
Сommit
b9471d6700
1 измененных файлов с 1 добавлено и 1 удалено
  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