Fix cypress testIsolation value

pull/2494/head
Jérémy Rialland 2023-02-01 11:46:08 +01:00 committed by Johan Girod
parent 3730706f8c
commit c8ee65baea
6 changed files with 6 additions and 6 deletions

View File

@ -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
}

View File

@ -6,7 +6,7 @@ describe(
`Formulaire demande mobilité (${
writeFixtures ? 'record mode' : 'stubbed mode'
})`,
{ testIsolation: 'off' },
{ testIsolation: false },
function () {
if (!fr) {
return

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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}`)