mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 19:26:31 -05:00
enhanced the e2e history.spec
This commit is contained in:
parent
0fadc09f2b
commit
5a56784cd0
1 changed files with 6 additions and 0 deletions
|
@ -6,17 +6,21 @@ describe('History', () => {
|
|||
describe('History Mode', () => {
|
||||
it('Cards', () => {
|
||||
cy.get('div.card')
|
||||
.should('be.visible')
|
||||
})
|
||||
|
||||
it('Table', () => {
|
||||
cy.get('i.fa-table')
|
||||
.click()
|
||||
cy.get('table.history-table')
|
||||
.should('be.visible')
|
||||
})
|
||||
})
|
||||
|
||||
describe('Pinning', () => {
|
||||
it('Cards', () => {
|
||||
cy.get('div.card')
|
||||
.should('be.visible')
|
||||
cy.get('.fa-thumb-tack')
|
||||
.first()
|
||||
.click()
|
||||
|
@ -25,6 +29,8 @@ describe('History', () => {
|
|||
})
|
||||
|
||||
it('Table', () => {
|
||||
cy.get('i.fa-table')
|
||||
.click()
|
||||
cy.get('.fa-thumb-tack')
|
||||
.first()
|
||||
.click()
|
||||
|
|
Loading…
Reference in a new issue