Skip to content

Commit

Permalink
Moved file to better location and renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
lemmyadams committed Oct 6, 2023
1 parent 1eb0927 commit f599278
Showing 1 changed file with 2 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Content from '../../src/course/en/contentObjects.json'
import Course from '../../src/course/en/course.json'
import Content from '../../../src/course/en/contentObjects.json'
import Course from '../../../src/course/en/course.json'

describe('Menu Page', () => {
beforeEach(() => {
Expand All @@ -24,19 +24,4 @@ describe('Menu Page', () => {
})
})
})

it('should have an expandable drawer', () => {
cy.get('.drawer[aria-expanded="true"]').should('not.exist')
cy.get('.drawer[aria-expanded="false"]').should('exist')

cy.get('button[data-event="toggleDrawer"]').click()

cy.get('.drawer[aria-expanded="true"]').should('exist')
cy.get('.drawer[aria-expanded="false"]').should('not.exist')

cy.get('button.drawer__close-btn').click()

cy.get('.drawer[aria-expanded="true"]').should('not.exist')
cy.get('.drawer[aria-expanded="false"]').should('exist')
})
});

0 comments on commit f599278

Please sign in to comment.