test set scheduling ui
This commit is contained in:
parent
b812a4b21b
commit
b7fb594c26
5 changed files with 262 additions and 0 deletions
|
|
@ -31,6 +31,14 @@ describe('guest authentication pages', () => {
|
|||
cy.location('search').should('include', 'redirect=/sets/41')
|
||||
})
|
||||
|
||||
it('redirects guests away from protected schedule routes', () => {
|
||||
cy.visit('/sets/41/schedules/new')
|
||||
cy.location('pathname').should('equal', '/login')
|
||||
|
||||
cy.visit('/schedules/73')
|
||||
cy.location('pathname').should('equal', '/login')
|
||||
})
|
||||
|
||||
it('shows the login form and links to signup', () => {
|
||||
cy.visit('/login')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue