Fix cypress testIsolation value
parent
3730706f8c
commit
c8ee65baea
|
@ -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
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ describe(
|
|||
`Formulaire demande mobilité (${
|
||||
writeFixtures ? 'record mode' : 'stubbed mode'
|
||||
})`,
|
||||
{ testIsolation: 'off' },
|
||||
{ testIsolation: false },
|
||||
function () {
|
||||
if (!fr) {
|
||||
return
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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}`)
|
||||
|
|
Loading…
Reference in New Issue