tldraw/scripts/e2e-run-tests
Orange Mug 2dbfda1285
Added initial webdriver tests (#1337)
Adds webdriver tests for testing from a users perspective via browser
actions. We currently support local test runners for a bunch of actions
on desktop `chrome`/`firefox`/`edge`/`safari` on macos.

We also have a browserstack runner which we'll enable in another PR.

### Release Note

- Adds initial webdriver tests
2023-05-09 20:21:45 +00:00

9 lines
190 B
Bash
Executable file

#!/usr/bin/env bash
set -eux
mode="${1:-local}"
export BROWSERS="${2:-chrome}"
# if [[ "$mode" == "remote" ]]; then
# export ENABLE_SSL=1
# fi
yarn workspace @tldraw/e2e "test:${mode}"