mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-29 16:04:20 -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', () => {
|
describe('History Mode', () => {
|
||||||
it('Cards', () => {
|
it('Cards', () => {
|
||||||
cy.get('div.card')
|
cy.get('div.card')
|
||||||
|
.should('be.visible')
|
||||||
})
|
})
|
||||||
|
|
||||||
it('Table', () => {
|
it('Table', () => {
|
||||||
cy.get('i.fa-table')
|
cy.get('i.fa-table')
|
||||||
.click()
|
.click()
|
||||||
cy.get('table.history-table')
|
cy.get('table.history-table')
|
||||||
|
.should('be.visible')
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
describe('Pinning', () => {
|
describe('Pinning', () => {
|
||||||
it('Cards', () => {
|
it('Cards', () => {
|
||||||
|
cy.get('div.card')
|
||||||
|
.should('be.visible')
|
||||||
cy.get('.fa-thumb-tack')
|
cy.get('.fa-thumb-tack')
|
||||||
.first()
|
.first()
|
||||||
.click()
|
.click()
|
||||||
|
@ -25,6 +29,8 @@ describe('History', () => {
|
||||||
})
|
})
|
||||||
|
|
||||||
it('Table', () => {
|
it('Table', () => {
|
||||||
|
cy.get('i.fa-table')
|
||||||
|
.click()
|
||||||
cy.get('.fa-thumb-tack')
|
cy.get('.fa-thumb-tack')
|
||||||
.first()
|
.first()
|
||||||
.click()
|
.click()
|
||||||
|
|
Loading…
Reference in a new issue