From c8ee65baeaa0f534d6760ec7db9cef79737a8b98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Rialland?= Date: Wed, 1 Feb 2023 11:46:08 +0100 Subject: [PATCH] Fix cypress testIsolation value --- site/cypress/integration/mon-entreprise/covid19.ts | 2 +- site/cypress/integration/mon-entreprise/demande-mobilité.ts | 2 +- site/cypress/integration/mon-entreprise/recherche.ts | 2 +- site/cypress/integration/mon-entreprise/simulateur-ae.ts | 2 +- .../cypress/integration/mon-entreprise/simulateur-dividendes.js | 2 +- site/cypress/support/simulateur.js | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/site/cypress/integration/mon-entreprise/covid19.ts b/site/cypress/integration/mon-entreprise/covid19.ts index 08fed7022..332cac305 100644 --- a/site/cypress/integration/mon-entreprise/covid19.ts +++ b/site/cypress/integration/mon-entreprise/covid19.ts @@ -1,6 +1,6 @@ import { checkA11Y, fr } from '../../support/utils' -describe('Page covid-19', { testIsolation: 'off' }, function () { +describe('Page covid-19', { testIsolation: false }, function () { if (!fr) { return } diff --git a/site/cypress/integration/mon-entreprise/demande-mobilité.ts b/site/cypress/integration/mon-entreprise/demande-mobilité.ts index b3cb3a4b5..bb236673c 100644 --- a/site/cypress/integration/mon-entreprise/demande-mobilité.ts +++ b/site/cypress/integration/mon-entreprise/demande-mobilité.ts @@ -6,7 +6,7 @@ describe( `Formulaire demande mobilité (${ writeFixtures ? 'record mode' : 'stubbed mode' })`, - { testIsolation: 'off' }, + { testIsolation: false }, function () { if (!fr) { return diff --git a/site/cypress/integration/mon-entreprise/recherche.ts b/site/cypress/integration/mon-entreprise/recherche.ts index 037ea1d6b..2954ed096 100644 --- a/site/cypress/integration/mon-entreprise/recherche.ts +++ b/site/cypress/integration/mon-entreprise/recherche.ts @@ -1,6 +1,6 @@ import { checkA11Y, fr } from '../../support/utils' -describe('Recherche globales', { testIsolation: 'off' }, function () { +describe('Recherche globales', { testIsolation: false }, function () { if (!fr) { return } diff --git a/site/cypress/integration/mon-entreprise/simulateur-ae.ts b/site/cypress/integration/mon-entreprise/simulateur-ae.ts index 0079b8fcd..8b30a9364 100644 --- a/site/cypress/integration/mon-entreprise/simulateur-ae.ts +++ b/site/cypress/integration/mon-entreprise/simulateur-ae.ts @@ -1,6 +1,6 @@ import { checkA11Y, fr } from '../../support/utils' -describe('Simulateur auto-entrepreneur', { testIsolation: 'off' }, function () { +describe('Simulateur auto-entrepreneur', { testIsolation: false }, function () { if (!fr) { return } diff --git a/site/cypress/integration/mon-entreprise/simulateur-dividendes.js b/site/cypress/integration/mon-entreprise/simulateur-dividendes.js index 290832c04..5c8b7a0c5 100644 --- a/site/cypress/integration/mon-entreprise/simulateur-dividendes.js +++ b/site/cypress/integration/mon-entreprise/simulateur-dividendes.js @@ -3,7 +3,7 @@ import { checkA11Y } from '../../support/utils' const inputSelector = 'div[id="simulator-legend"] input' const fr = Cypress.env('language') === 'fr' -describe('Simulateur dividendes', { testIsolation: 'off' }, function () { +describe('Simulateur dividendes', { testIsolation: false }, function () { if (!fr) { return } diff --git a/site/cypress/support/simulateur.js b/site/cypress/support/simulateur.js index 14555af35..a60aeff3b 100644 --- a/site/cypress/support/simulateur.js +++ b/site/cypress/support/simulateur.js @@ -6,7 +6,7 @@ const chargeInputSelector = 'input[id="entreprisecharges"]' const fr = Cypress.env('language') === 'fr' export const runSimulateurTest = (simulateur) => { - describe(`Simulateur ${simulateur}`, { testIsolation: 'off' }, function () { + describe(`Simulateur ${simulateur}`, { testIsolation: false }, function () { before(function () { return cy.visit( encodeURI(`/${fr ? 'simulateurs' : 'calculators'}/${simulateur}`)