Skip to content

Commit 6b44850

Browse files
committed
attempt fix session test
1 parent 0c35efe commit 6b44850

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cypress/integration/tests/user-course-session-behaviour.cy.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,10 @@ describe.only('A logged in user should be able to navigate to a course session a
1010
emailInput: newUserEmail,
1111
passwordInput: password,
1212
});
13+
cy.logInWithEmailAndPassword(newUserEmail, password); //log in to test user
1314
});
1415

1516
it('Should go to courses page and select a course & session', () => {
16-
cy.logInWithEmailAndPassword(newUserEmail, password); //log in to test user
17-
1817
cy.get(`[qa-id=secondary-nav-courses-button]`, { timeout: 8000 }).should('exist').click(); //navigate to courses
1918

2019
cy.get('a[href*="healing-from-sexual-trauma"]', {

0 commit comments

Comments
 (0)