mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-15 07:34:42 -04:00
Update dependency cypress to v6 (#798)
Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Philip Molares <philip.molares@udo.edu> Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
5fa9de003c
commit
a7aae1ae4a
4 changed files with 23 additions and 30 deletions
|
@ -38,28 +38,17 @@ describe('Intro', () => {
|
|||
})
|
||||
})
|
||||
|
||||
describe('Version', () => {
|
||||
it('can be opened', () => {
|
||||
cy.get('#versionModal')
|
||||
.should('not.be.visible')
|
||||
cy.get('#version')
|
||||
.click()
|
||||
cy.get('#versionModal')
|
||||
.should('be.visible')
|
||||
})
|
||||
|
||||
it('can be closed', () => {
|
||||
cy.get('#versionModal')
|
||||
.should('not.be.visible')
|
||||
cy.get('#version')
|
||||
.click()
|
||||
cy.get('#versionModal')
|
||||
.should('be.visible')
|
||||
cy.get('#versionModal .modal-footer .btn')
|
||||
.contains('Close')
|
||||
.click()
|
||||
cy.get('#versionModal')
|
||||
.should('not.be.visible')
|
||||
})
|
||||
it('Versioncan be opened and closed', () => {
|
||||
cy.get('#versionModal')
|
||||
.should('not.exist')
|
||||
cy.get('#version')
|
||||
.click()
|
||||
cy.get('#versionModal')
|
||||
.should('be.visible')
|
||||
cy.get('#versionModal .modal-footer .btn')
|
||||
.contains('Close')
|
||||
.click()
|
||||
cy.get('#versionModal')
|
||||
.should('not.exist')
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue