aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-02-11 23:31:56 -0800
committerAdam Soltys <[email protected]>2026-02-11 23:31:56 -0800
commitaa0116df7b00600a812eb42ee0dfa0cf5d0e1bc7 (patch)
tree189b33c95e11ea24bb3f6033457f3685eb4dcf90 /test
parent6b456afbfb81ac23d1a07399da6efa47822ad117 (diff)
downloadcoinos-ui-aa0116df7b00600a812eb42ee0dfa0cf5d0e1bc7.tar.gz
coinos-ui-aa0116df7b00600a812eb42ee0dfa0cf5d0e1bc7.zip
cleanup package file
Diffstat (limited to 'test')
-rwxr-xr-xtest/e2e/run.sh27
1 files changed, 27 insertions, 0 deletions
diff --git a/test/e2e/run.sh b/test/e2e/run.sh
new file mode 100755
index 00000000..60c528f0
--- /dev/null
+++ b/test/e2e/run.sh
@@ -0,0 +1,27 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+export ENABLE_E2E_TEST_ENDPOINTS=true
+export E2E_TEST_SECRET=local-e2e-secret
+export ARK_SERVER_WALLET_PRIVATE_KEY=0ebe9a690651e9e08d7c2f4db106d8ec264725241fdb34c57aedb26155b0e027
+
+SPEC="test/e2e/ark-receive-from-server-wallet.spec.ts"
+MODE="${1:-}"
+
+case "$MODE" in
+ headed)
+ playwright test "$SPEC" --project=chromium --headed --workers=1
+ ;;
+ watch)
+ export E2E_SLOWMO=350
+ export E2E_PAUSE_AT_END=true
+ playwright test "$SPEC" --project=chromium --headed --workers=1 --retries=0 --timeout=120000 --global-timeout=180000
+ ;;
+ debug)
+ export PWDEBUG=1
+ playwright test "$SPEC" --project=chromium --headed --workers=1
+ ;;
+ *)
+ playwright test "$SPEC" --project=chromium --workers=1
+ ;;
+esac