From aababa111362115f4017ea2b07656c63ed4d93d8 Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Mon, 29 Mar 2021 04:54:37 +0200 Subject: [PATCH] Allow to execute decline oauth e2e tests since the backend has been fixed --- tests-e2e/cypress/integration/auth/oauth.test.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests-e2e/cypress/integration/auth/oauth.test.ts b/tests-e2e/cypress/integration/auth/oauth.test.ts index 68d8ecb..df5061a 100644 --- a/tests-e2e/cypress/integration/auth/oauth.test.ts +++ b/tests-e2e/cypress/integration/auth/oauth.test.ts @@ -95,8 +95,7 @@ describe('OAuth', () => { cy.url().should('match', /^http:\/\/localhost:8080\/?\?code=[^&]+&state=$/); }); - // TODO: enable, when backend api will return correct response on auth decline - xit('should redirect to error page, when permission request declined', () => { + it('should redirect to error page, when permission request declined', () => { cy.server(); cy.route({ @@ -338,8 +337,7 @@ describe('OAuth', () => { cy.url().should('match', /^http:\/\/localhost:8080\/?\?code=[^&]+&state=$/); }); - // TODO: enable, when backend api will return correct response on auth decline - xit('should redirect to error page, when permission request declined', () => { + it('should redirect to error page, when permission request declined', () => { cy.login({ accounts: ['default'] }); cy.visit(