mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 22:54:42 -04:00
Add new visit functions in e2e tests
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
566b3009b6
commit
ca5dae3f82
34 changed files with 88 additions and 56 deletions
|
@ -7,7 +7,7 @@
|
|||
describe('History', () => {
|
||||
describe('History Mode', () => {
|
||||
beforeEach(() => {
|
||||
cy.visit('/history')
|
||||
cy.visitHistory()
|
||||
})
|
||||
|
||||
it('Cards', () => {
|
||||
|
@ -35,7 +35,7 @@ describe('History', () => {
|
|||
}
|
||||
]
|
||||
})
|
||||
cy.visit('/history')
|
||||
cy.visitHistory()
|
||||
})
|
||||
|
||||
it('in table view', () => {
|
||||
|
@ -62,7 +62,7 @@ describe('History', () => {
|
|||
}
|
||||
]
|
||||
})
|
||||
cy.visit('/history')
|
||||
cy.visitHistory()
|
||||
})
|
||||
|
||||
it('in table view', () => {
|
||||
|
@ -79,7 +79,7 @@ describe('History', () => {
|
|||
|
||||
describe('Pinning', () => {
|
||||
beforeEach(() => {
|
||||
cy.visit('/history')
|
||||
cy.visitHistory()
|
||||
})
|
||||
|
||||
describe('working', () => {
|
||||
|
@ -131,7 +131,7 @@ describe('History', () => {
|
|||
cy.intercept('GET', '/mock-backend/api/private/me/history', {
|
||||
body: []
|
||||
})
|
||||
cy.visit('/history')
|
||||
cy.visitHistory()
|
||||
cy.logout()
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue