Skip to content

Commit

Permalink
only failed contribs
Browse files Browse the repository at this point in the history
  • Loading branch information
carolineBda committed Dec 17, 2024
1 parent 2b99053 commit fea4b3a
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions packages/code-du-travail-frontend/cypress/support/before.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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...");
Expand All @@ -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(
Expand Down

0 comments on commit fea4b3a

Please sign in to comment.