From 438becb834ecd3d727619c9229d1805c5bd012e4 Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Fri, 10 Jan 2020 15:27:20 +0300 Subject: [PATCH] Fix e2e tests --- .../cypress/integration/auth/invalid-refreshToken.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests-e2e/cypress/integration/auth/invalid-refreshToken.test.ts b/tests-e2e/cypress/integration/auth/invalid-refreshToken.test.ts index 3a70518..282cca2 100644 --- a/tests-e2e/cypress/integration/auth/invalid-refreshToken.test.ts +++ b/tests-e2e/cypress/integration/auth/invalid-refreshToken.test.ts @@ -249,7 +249,7 @@ describe('User with invalid token and refreshToken', () => { it('should allow oauth', () => { cy.visit( - '/oauth2/v1/ely?client_id=ely&redirect_uri=http%3A%2F%2Fely.by%2Fauthorization%2Foauth&response_type=code&scope=account_info%2Caccount_email', + '/oauth2/v1/ely?client_id=ely&redirect_uri=https%3A%2F%2Fdev.ely.by%2Fauthorization%2Foauth&response_type=code&scope=account_info%2Caccount_email', ); cy.url().should('contain', '/password'); @@ -262,7 +262,7 @@ describe('User with invalid token and refreshToken', () => { .contains(account2.username) .click(); - cy.url().should('contain', '//ely.by'); + cy.url().should('contain', '//dev.ely.by'); }); });