improve integration test

main
Mike Fix 5 years ago
parent 9559891df6
commit f82944fd1e

@ -40,9 +40,9 @@ describe('localStorage', () => {
// visiting page again restores theme from localStorage // visiting page again restores theme from localStorage
cy.visit('/') cy.visit('/')
themeDropdown() pickTheme('Cobalt')
.click() cy.wait(1500) // URL updates are debounced
.contains('Blackboard')
cy.url().should('contain', 't=blackboard') cy.url().should('contain', 't=cobalt')
}) })
}) })

Loading…
Cancel
Save