|
|
@ -15,7 +15,7 @@ describe('localStorage', () => {
|
|
|
|
.contains(name)
|
|
|
|
.contains(name)
|
|
|
|
.click()
|
|
|
|
.click()
|
|
|
|
|
|
|
|
|
|
|
|
it('is empty initially', () => {
|
|
|
|
it.skip('is empty initially', () => {
|
|
|
|
cy.visit('/')
|
|
|
|
cy.visit('/')
|
|
|
|
editorVisible()
|
|
|
|
editorVisible()
|
|
|
|
cy
|
|
|
|
cy
|
|
|
@ -28,7 +28,7 @@ describe('localStorage', () => {
|
|
|
|
cy.visit('/')
|
|
|
|
cy.visit('/')
|
|
|
|
editorVisible()
|
|
|
|
editorVisible()
|
|
|
|
pickTheme('Blackboard')
|
|
|
|
pickTheme('Blackboard')
|
|
|
|
themeDropdown().contains('Blackboard')
|
|
|
|
themeDropdown().click().contains('Blackboard')
|
|
|
|
|
|
|
|
|
|
|
|
cy
|
|
|
|
cy
|
|
|
|
.window()
|
|
|
|
.window()
|
|
|
@ -39,7 +39,7 @@ describe('localStorage', () => {
|
|
|
|
|
|
|
|
|
|
|
|
// visiting page again restores theme from localStorage
|
|
|
|
// visiting page again restores theme from localStorage
|
|
|
|
cy.visit('/')
|
|
|
|
cy.visit('/')
|
|
|
|
themeDropdown().contains('Blackboard')
|
|
|
|
themeDropdown().click().contains('Blackboard')
|
|
|
|
cy.url().should('contain', 't=blackboard')
|
|
|
|
cy.url().should('contain', 't=blackboard')
|
|
|
|
})
|
|
|
|
})
|
|
|
|
})
|
|
|
|
})
|
|
|
|