Skip to content

Commit

Permalink
Improve wait-on for cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
knutwalker committed Feb 5, 2024
1 parent 01d5edd commit c9928f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ jobs:
run: curl --fail --output /tmp/movies.cypher https://raw.githubusercontent.com/neo4j-graph-examples/movies/fb0e497e9e6a601fb55403586dd510aca73e471f/scripts/movies.cypher
- name: Import dataset
run: docker exec --interactive neo4j-e2e cypher-shell -u neo4j -p neo4jpass --file /movies/movies.cypher
- name: Build application
run: cargo +${{ matrix.rust }} build --release
- name: Check out test harness sources
uses: actions/checkout@v4
with:
Expand All @@ -85,7 +87,7 @@ jobs:
with:
working-directory: e2e
browser: chrome
# See https://github.com/cypress-io/github-action/issues/482
start: cargo +${{ matrix.rust }} run --manifest-path ../Cargo.toml --release
wait-on: 'http://localhost:8080/index.html'
wait-on-timeout: 300

0 comments on commit c9928f0

Please sign in to comment.