From 74a5656417161f01211420fddb348ec2c6b376b2 Mon Sep 17 00:00:00 2001 From: walsh9 Date: Tue, 28 Nov 2023 16:31:12 -0500 Subject: [PATCH] block google news during tests --- cypress/support/commands.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cypress/support/commands.ts b/cypress/support/commands.ts index ae464578..e2b64f43 100644 --- a/cypress/support/commands.ts +++ b/cypress/support/commands.ts @@ -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') })