Skip to content

Commit

Permalink
Try to intercept service worker
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliushaertl committed Jun 28, 2023
1 parent 5eb6b5a commit a77b579
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
repository: nextcloud/server
ref: debug/session-csrf
ref: master
submodules: true

- name: Checkout viewer
Expand Down
Empty file.
4 changes: 4 additions & 0 deletions cypress/support/e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ import './commands.js'
import './sessions.js'
import chaiExtension from './chai.js'

beforeEach(() => {
cy.intercept('GET', '**/preview-service-worker.js', { fixture: 'preview-service-worker.js' })
})

before(() => {
chai.use(chaiExtension)
})
Expand Down

0 comments on commit a77b579

Please sign in to comment.