mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 14:44:43 -04:00
The History PR: I - Move to redux (#1156)
This commit is contained in:
parent
bba2b207c4
commit
8e5a667d18
24 changed files with 629 additions and 417 deletions
|
@ -38,10 +38,10 @@ describe('History', () => {
|
|||
.first()
|
||||
.as('pin-button')
|
||||
cy.get('@pin-button')
|
||||
.should('not.have.class', 'pinned')
|
||||
.should('have.class', 'pinned')
|
||||
.click()
|
||||
cy.get('@pin-button')
|
||||
.should('have.class', 'pinned')
|
||||
.should('not.have.class', 'pinned')
|
||||
})
|
||||
|
||||
it('Table', () => {
|
||||
|
@ -51,10 +51,10 @@ describe('History', () => {
|
|||
.first()
|
||||
.as('pin-button')
|
||||
cy.get('@pin-button')
|
||||
.should('not.have.class', 'pinned')
|
||||
.should('have.class', 'pinned')
|
||||
.click()
|
||||
cy.get('@pin-button')
|
||||
.should('have.class', 'pinned')
|
||||
.should('not.have.class', 'pinned')
|
||||
})
|
||||
})
|
||||
|
||||
|
@ -71,7 +71,7 @@ describe('History', () => {
|
|||
cy.get('.fa-thumb-tack')
|
||||
.first()
|
||||
.click()
|
||||
cy.get('.modal-dialog')
|
||||
cy.get('.notifications-area .toast')
|
||||
.should('be.visible')
|
||||
})
|
||||
|
||||
|
@ -81,7 +81,7 @@ describe('History', () => {
|
|||
cy.get('.fa-thumb-tack')
|
||||
.first()
|
||||
.click()
|
||||
cy.get('.modal-dialog')
|
||||
cy.get('.notifications-area .toast')
|
||||
.should('be.visible')
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue