Skip to content

Commit

Permalink
More adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
gastongaiduk committed Dec 18, 2024
1 parent a4822ea commit eaff4d2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@ jobs:
env:
CI: true

- name: Wait for Vite server
run: |
for i in {1..10}; do
if curl -s http://localhost:5173/retroleaderboards/; then
echo "Vite server is up!"
break
fi
echo "Waiting for Vite server..."
sleep 2
done
- name: Run Cypress tests
uses: cypress-io/github-action@v6
with:
Expand Down
4 changes: 1 addition & 3 deletions cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import { defineConfig } from "cypress";
export default defineConfig({
e2e: {
baseUrl: 'http://localhost:5173/retroleaderboards',
setupNodeEvents(on, config) {
// implement node event listeners here
},
defaultCommandTimeout: 10000,
},
});

0 comments on commit eaff4d2

Please sign in to comment.