Skip to content

Commit

Permalink
Account for option renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
skitterm committed Jan 16, 2024
1 parent 1d44379 commit 2372cdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cypress/src/support.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ beforeEach(() => {
cy.wrap([]).as('manualSnapshots');
cy.task('prepareArchives', {
action: 'setup-network-listener',
payload: { allowedDomains: Cypress.env('allowedArchiveDomains') },
payload: { allowedDomains: Cypress.env('assetDomains') },
});
});

afterEach(() => {
if (Cypress.env('disableAutoCapture')) {
if (Cypress.env('disableAutoSnapshot')) {
return;
}
// can we be sure this always fires after all the requests are back?
Expand Down

0 comments on commit 2372cdc

Please sign in to comment.