diff --git a/tests/cypress/e2e/test-dashboard.cy.js b/tests/cypress/e2e/test-dashboard.cy.js index 897bffca6c3742ced85601b8dcd89b22ac2d9cd2..504e96fb4fe6a4001872afc9a3d07ef7b2fce03b 100644 --- a/tests/cypress/e2e/test-dashboard.cy.js +++ b/tests/cypress/e2e/test-dashboard.cy.js @@ -10,5 +10,15 @@ describe('Test dashboard', () => { it('passes', () => { cy.visit('/') + + // Log in using credentials from env vars. + cy.get('#identifier.form-control') + .type(Cypress.env('SSO_USER')) + cy.get('#password.form-control') + .type(Cypress.env('SSO_PASSWORD')) + cy.contains('Log in').click() + + // Check that the support link is visible. + cy.contains('Access documentation website') }) })