Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions test-prow-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#
# Scenarios (first argument; default: e2e):
# e2e, release — full Playwright suite (default project / config)
# login — auth-multiuser-login spec only (--project=console)
# smoke — Playwright smoke project (--project=smoke)
#
# Environment (typical Prow / installer):
Expand Down Expand Up @@ -59,6 +60,11 @@ fi

if [ "$SCENARIO" == "e2e" ] || [ "$SCENARIO" == "release" ]; then
./integration-tests/test-playwright.sh "$@"
elif [ "$SCENARIO" == "login" ]; then
export BRIDGE_HTPASSWD_IDP="${BRIDGE_HTPASSWD_IDP:-test}"
Comment thread
ShazaAldawamneh marked this conversation as resolved.
export BRIDGE_HTPASSWD_USERNAME="${BRIDGE_HTPASSWD_USERNAME:-test}"
export BRIDGE_HTPASSWD_PASSWORD="${BRIDGE_HTPASSWD_PASSWORD:-test}"
./integration-tests/test-playwright.sh -- --project=console e2e/tests/console/app/auth-multiuser-login.spec.ts "$@"
elif [ "$SCENARIO" == "smoke" ]; then
# End of script flags before Playwright's --project (test-playwright.sh only parses -c).
./integration-tests/test-playwright.sh -- --project=smoke "$@"
Expand Down