mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-18 17:25:16 -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
|
@ -40,6 +40,8 @@ describe('profile page', () => {
|
|||
})
|
||||
|
||||
it('delete token', () => {
|
||||
cy.get('.modal-dialog')
|
||||
.should('not.exist')
|
||||
cy.get('.card.access-tokens .list-group-item .btn-danger')
|
||||
.click()
|
||||
cy.get('.modal-dialog')
|
||||
|
@ -47,7 +49,7 @@ describe('profile page', () => {
|
|||
.get('.modal-footer .btn-danger')
|
||||
.click()
|
||||
cy.get('.modal-dialog')
|
||||
.should('not.be.visible')
|
||||
.should('not.exist')
|
||||
})
|
||||
|
||||
it('add token', () => {
|
||||
|
@ -55,6 +57,8 @@ describe('profile page', () => {
|
|||
.should('be.disabled')
|
||||
cy.get('.card.access-tokens input[type=text]')
|
||||
.type('cypress')
|
||||
cy.get('.modal-dialog')
|
||||
.should('not.exist')
|
||||
cy.get('.card.access-tokens .btn-primary')
|
||||
.should('not.be.disabled')
|
||||
.click()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue