This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const USER_PROFILE_PATH = `users/${Cypress.env('TEST_UID')}` | |
describe('Account Page', () => { | |
beforeEach(() => { | |
// Login using custom token | |
cy.login() | |
// Go to account page | |
cy.visit('/account') | |
}) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('Projects Page', () => { | |
describe('when not authenticated', () => { | |
before(() => { | |
// Attempt to go to /projects (requires user to be logged in) | |
cy.visit('/projects') | |
}) | |
it('Redirects to Home (/)', () => { | |
cy.url().should('equal', '/') | |
}); | |
}) |
NewerOlder