test(e2e): stabilize activity feed + Clerk helper timeouts

This commit is contained in:
Abhimanyu Saharan
2026-02-12 11:08:51 +00:00
parent c73103d5c9
commit 7903dc129c
2 changed files with 62 additions and 46 deletions

View File

@@ -14,6 +14,13 @@ export default defineConfig({
baseUrl: "http://localhost:3000",
specPattern: "cypress/e2e/**/*.cy.{js,jsx,ts,tsx}",
supportFile: "cypress/support/e2e.ts",
// Clerk helpers perform async work inside `cy.then()`. CI can be slow enough
// that Cypress' 4s default command timeout flakes.
defaultCommandTimeout: 20_000,
retries: {
runMode: 2,
openMode: 0,
},
setupNodeEvents(on, config) {
return clerkSetup({ config });
},