Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
carolineBda committed Jun 25, 2024
1 parent 1d820e9 commit d7fa391
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/code-du-travail-frontend/cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,17 @@ module.exports = defineConfig({
baseUrl: process.env.TEST_BASEURL ?? "http://localhost:3000",
specPattern: process.env.ALL_TEST
? "cypress/integration/**/*.spec.{js,jsx,ts,tsx}"
: "cypress/integration/heavy/validate-*.spec.ts",
// : "cypress/integration/light/**/*.spec.{js,jsx,ts,tsx}",
: "cypress/integration/light/**/*.spec.{js,jsx,ts,tsx}",
supportFile: "cypress/support/index.ts",
viewportHeight: 1000,
viewportWidth: 1280,
chromeWebSecurity: false,
setupNodeEvents(on) {
htmlvalidate.install(on);
on("before:run", async () => {
// if (process.env.ALL_TEST) {
if (process.env.ALL_TEST) {
await downloadAllUrlsToValidate();
// }
}
});
},
},
Expand Down

0 comments on commit d7fa391

Please sign in to comment.