Skip to content

Commit

Permalink
fix: cypress github action node v18 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksanderBodurri committed Nov 14, 2023
1 parent 760e468 commit 65841dc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
uses: cypress-io/github-action@v2
with:
start: |
ng serve ngx-turnstile-demo
wait-on: "http://localhost:4200"
ng serve ngx-turnstile-demo --host 0.0.0.0
wait-on: "http://0.0.0.0:4200"
wait-on-timeout: 300
browser: chrome
config-file: cypress.config.ts
6 changes: 3 additions & 3 deletions cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ export default defineConfig({
specPattern: '**/*.cy.ts',
},
env: {
baseUrl: 'http://localhost:4200',
reactiveFormUrl: 'http://localhost:4200/reactive-form-example',
templateDrivenFormUrl: 'http://localhost:4200/template-driven-form-example',
baseUrl: 'http://0.0.0.0:4200',
reactiveFormUrl: 'http://0.0.0.0:4200/reactive-form-example',
templateDrivenFormUrl: 'http://0.0.0.0:4200/template-driven-form-example',
},
e2e: {
setupNodeEvents(on, config) {
Expand Down

0 comments on commit 65841dc

Please sign in to comment.