Skip to content

Commit

Permalink
work around 304 response caching
Browse files Browse the repository at this point in the history
  • Loading branch information
mjhenkes committed Nov 8, 2022
1 parent 65ad6c7 commit c2227c4
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,10 @@ describe('Logging In - Single Sign on', function () {
// in order to get access to the test context "this.token" saved above

// observe the "GET /config" call from the application
cy.intercept('/config').as('getConfig')
cy.intercept('/config', (req) => {
// a work around to prevent cached results
delete req.headers['if-none-match']
}).as('getConfig')

cy.visit('/')

Expand Down

0 comments on commit c2227c4

Please sign in to comment.