2020-04-30 18:52:54 +07:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
|
|
|
|
main() {
|
|
|
|
cd "$(dirname "$0")/../.."
|
2021-04-14 07:31:56 +07:00
|
|
|
cd test
|
2021-04-15 04:45:30 +07:00
|
|
|
# We set these environment variables because they're used in the e2e tests
|
|
|
|
# they don't have to be these values, but these are the defaults
|
2021-06-10 20:09:38 +07:00
|
|
|
PASSWORD=e45432jklfdsab CODE_SERVER_ADDRESS=http://localhost:8080 yarn playwright test "$@"
|
2020-04-30 18:52:54 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
main "$@"
|