-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
db745d2
commit 0171cc3
Showing
5 changed files
with
51 additions
and
37 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
spec: | ||
namePrefix: hotrod-cypress-demo | ||
runnerGroup: cypress | ||
script: | | ||
#!/bin/bash | ||
set -e | ||
# Clone the git repo | ||
echo "Cloning signadot repo" | ||
git clone --single-branch -b "@{branch}" \ | ||
https://github.com/signadot/hotrod.git | ||
# Run the cypress e2e tests | ||
cd hotrod | ||
export CYPRESS_HOTROD_NAMESPACE="@{namespace}" | ||
npx cypress run | ||
routingContext: | ||
sandbox: "@{sandbox}" | ||
uploadArtifact: | ||
- path: hotrod/cypress/videos/hotrod.cy.js.mp4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
spec: | ||
namePrefix: hotrod-cypress-e2e | ||
runnerGroup: cypress | ||
script: | | ||
#!/bin/bash | ||
set -e | ||
# Clone the git repo | ||
echo "Cloning signadot repo" | ||
git clone --single-branch -b "@{branch}" \ | ||
https://github.com/signadot/hotrod.git | ||
# Run the cypress e2e tests | ||
cd hotrod | ||
export CYPRESS_HOTROD_E2E="1" | ||
export CYPRESS_HOTROD_NAMESPACE="@{namespace}" | ||
export CYPRESS_FRONTEND_SANDBOX_NAME="@{frontend_sandbox_name}" | ||
export CYPRESS_LOCATION_SANDBOX_NAME="@{location_sandbox_name}" | ||
export CYPRESS_ROUTE_SANDBOX_NAME="@{route_sandbox_name}" | ||
export CYPRESS_DRIVER_SANDBOX_NAME="@{driver_sandbox_name}" | ||
npx cypress run | ||
routingContext: | ||
sandbox: "@{sandbox}" | ||
uploadArtifact: | ||
- path: hotrod/cypress/videos/hotrod.cy.js.mp4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters