From c9928f0e91d17db4aa51d5363d997424e3977516 Mon Sep 17 00:00:00 2001 From: Paul Horn Date: Mon, 5 Feb 2024 12:33:25 +0100 Subject: [PATCH] Improve wait-on for cypress --- .github/workflows/rust.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index e3779da..effe26e 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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: @@ -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