Skip to content

Commit

Permalink
block google news during tests
Browse files Browse the repository at this point in the history
  • Loading branch information
walsh9 committed Nov 28, 2023
1 parent 9d5e7b8 commit 74a5656
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cypress/support/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,7 @@ Cypress.Commands.add('loadGlobalFixtures', () => {
cy.intercept({
hostname: 'a.omappapi.com',
}, { statusCode: 200, body: '' }).as('optinMonster2')
cy.intercept({
hostname: 'news.google.com',
}, { statusCode: 200, body: '' }).as('googleNews')
})

0 comments on commit 74a5656

Please sign in to comment.