From c9bfe137e9b110e778e8f7070c0d23becb4b05e1 Mon Sep 17 00:00:00 2001 From: Dean Elliott Date: Fri, 2 Feb 2024 12:02:24 +0000 Subject: [PATCH] Update export wins for test isolation, disable test isolation for multi step form --- .../cypress/specs/export-win/add-export-win-spec.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/functional/cypress/specs/export-win/add-export-win-spec.js b/test/functional/cypress/specs/export-win/add-export-win-spec.js index 36cb49c71bb..1b251bdd576 100644 --- a/test/functional/cypress/specs/export-win/add-export-win-spec.js +++ b/test/functional/cypress/specs/export-win/add-export-win-spec.js @@ -711,7 +711,7 @@ describe('Adding an export win', () => { context('Support provided', () => { const { supportProvided } = formFields - before(() => { + beforeEach(() => { cy.visit(`${urls.companies.exportWins.create()}${supportProvidedStep}`) }) @@ -811,7 +811,8 @@ describe('Adding an export win', () => { }) }) - context('Check before sending', () => { + // Disable testIsolation due to multi step form with lots of data. + context('Check before sending', { testIsolation: false }, () => { const { officerDetails, creditForThisWin,