Skip to content

Commit

Permalink
changed config to make tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
chopan123 committed Sep 30, 2024
1 parent 352bf61 commit 4698833
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Run tests

on:
push:
pull_request:
workflow_dispatch:
permissions:
contents: write
Expand Down
4 changes: 2 additions & 2 deletions cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ export default defineConfig({
e2e: {
baseUrl: 'http://localhost:3000',
specPattern: 'cypress/{e2e,staging}/**/*.test.{ts,tsx}',
defaultCommandTimeout: 10000, // Sets the timeout for commands like cy.get() to 10 seconds
defaultCommandTimeout: 20000, // Sets the timeout for commands like cy.get() to 10 seconds
pageLoadTimeout: 60000, // Sets the timeout for cy.visit() to 60 seconds
retries: {
runMode: 4, // Retries failing tests 2 times in CI mode
runMode: 9, // Retries failing tests 2 times in CI mode
openMode: 0 // No retries in interactive mode
},
},
Expand Down

0 comments on commit 4698833

Please sign in to comment.