From dd05258dd255975bd0872b32d2dbb45cde4c6752 Mon Sep 17 00:00:00 2001 From: Mihajlo Date: Fri, 16 Jul 2021 12:32:35 +0200 Subject: [PATCH] test: fixing --- cypress/integration/sasjs.tests.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() }) })