diff --git a/cypress/integration/sasjs.tests.ts b/cypress/integration/sasjs.tests.ts index 77b0569..994be1a 100644 --- a/cypress/integration/sasjs.tests.ts +++ b/cypress/integration/sasjs.tests.ts @@ -18,8 +18,8 @@ context('sasjs-tests', function() { cy.get('input[placeholder="User Name"]', {timeout: 40000}).should('not.exist').then(() => { cy.get('.ui.massive.icon.primary.left.labeled.button').click().then(() => { - cy.get('.ui.massive.loading.primary.button').should('not.exist').then(() => { - cy.get('span.icon.failed', {timeout: testingFinishTimeout}).should('not.exist').then(() => { + cy.get('.ui.massive.loading.primary.button', {timeout: testingFinishTimeout}).should('not.exist').then(() => { + cy.get('span.icon.failed').should('not.exist').then(() => { done() }) })