mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-01-11 15:12:00 +00:00
fix cypress runs (#755)
This PR fixes the cypress tests, by adding a stub to the put request.
This commit is contained in:
parent
870cc874ea
commit
b3a0411a35
1 changed files with 9 additions and 0 deletions
|
@ -18,6 +18,15 @@ describe('History', () => {
|
|||
})
|
||||
|
||||
describe('Pinning', () => {
|
||||
beforeEach(() => {
|
||||
cy.route({
|
||||
method: 'PUT',
|
||||
url: '/api/v2/history/**',
|
||||
status: 401,
|
||||
response: {}
|
||||
})
|
||||
})
|
||||
|
||||
it('Cards', () => {
|
||||
cy.get('div.card')
|
||||
.should('be.visible')
|
||||
|
|
Loading…
Reference in a new issue