mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 21:47:32 +00:00
fix acceptance tests
This commit is contained in:
@@ -9,13 +9,16 @@ echo
|
||||
echo
|
||||
echo -e "THANKS FOR CONTRIBUTING TO ZITADEL 🚀"
|
||||
echo
|
||||
nohup bash -c "pnpm playwright show-report --host 0.0.0.0 &"
|
||||
echo "View the Playwright report at http://localhost:9323"
|
||||
echo
|
||||
echo "Your dev container is configured for fixing login acceptance tests."
|
||||
echo "The login is running in a separate container with the same configuration."
|
||||
echo "It calls a local zitadel container with a fully implemented gRPC API."
|
||||
echo
|
||||
echo "Also the test suite is configured correctly."
|
||||
echo "For example, run a single test file:"
|
||||
echo "pnpm playwright test --spec acceptance/tests/admin.spec.ts"
|
||||
echo "For example, rerun only failed tests:"
|
||||
echo "pnpm playwright test --last-failed"
|
||||
echo
|
||||
echo "You can also run the test interactively."
|
||||
echo "However, this is only possible from outside the dev container."
|
||||
|
@@ -11,7 +11,7 @@ pnpm install --frozen-lockfile \
|
||||
--filter @zitadel/proto \
|
||||
--filter zitadel-monorepo
|
||||
pnpm exec playwright install --with-deps
|
||||
pnpm test:acceptance:login
|
||||
PLAYWRIGHT_HTML_OPEN=never pnpm test:acceptance:login
|
||||
|
||||
if [ "$FAIL_COMMANDS_ON_ERRORS" != "true" ]; then
|
||||
exit 0
|
||||
|
Reference in New Issue
Block a user