From fea4b3a6ccf1d30cab42d7133e57ec8aa5862e25 Mon Sep 17 00:00:00 2001 From: carolineBda Date: Tue, 17 Dec 2024 15:32:01 +0100 Subject: [PATCH] only failed contribs --- .../code-du-travail-frontend/cypress/support/before.ts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/packages/code-du-travail-frontend/cypress/support/before.ts b/packages/code-du-travail-frontend/cypress/support/before.ts index 05f590d4a7..644bb0ad41 100644 --- a/packages/code-du-travail-frontend/cypress/support/before.ts +++ b/packages/code-du-travail-frontend/cypress/support/before.ts @@ -4,7 +4,7 @@ import { parseString } from "xml2js"; const PRODUCTION_DOMAIN = "https://code.travail.gouv.fr"; const PREPROD_DOMAIN = - "https://code-du-travail-numerique-carolinebda-headings-level-69ngsiyc.ovh.fabrique.social.gouv.fr/"; + "https://code-du-travail-numerique-carolinebda-headings-level-69ngsiyc.ovh.fabrique.social.gouv.fr"; export const downloadAllUrlsToValidate = async () => { console.log("Download all URLs to validate HTML..."); @@ -28,13 +28,7 @@ export const downloadAllUrlsToValidate = async () => { fs.writeFileSync( "./cypress/support/urls-to-validate.json", - JSON.stringify( - urls.filter( - (url) => - url.includes("/information/") || - url.includes("/convention-collective/") - ) - ) + JSON.stringify([]) ); const urlsContributions: string[] = urls.filter(