From 3f229f10ab8f49d9ce30ab59a4e29bc76fa3cd43 Mon Sep 17 00:00:00 2001 From: Ramon Wenger Date: Mon, 8 Apr 2019 17:23:46 +0200 Subject: [PATCH] Fix cypress test --- client/cypress/integration/login-page-spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/cypress/integration/login-page-spec.js b/client/cypress/integration/login-page-spec.js index 83d50dcf..ee32a857 100644 --- a/client/cypress/integration/login-page-spec.js +++ b/client/cypress/integration/login-page-spec.js @@ -9,7 +9,7 @@ describe('The Login Page', () => { cy.get('#id_password').type(`${password}{enter}`); cy.getCookie('sessionid').should('exist'); - cy.get('.start-page__title').should('contain', 'skillbox') + cy.get('.start-page__header').should('exist') }); // it('logs in programmatically without using the UI', () => { // cy.visit('/accounts/login/'); // have to get a csrf token by getting the base page first