tldraw/packages
Steve Ruiz e3cf05f408
Add playwright tests (#1484)
This PR replaces our webdriver end to end tests with playwright tests.

It:
- replaces our webdriver workflow with a new e2e workflow based on
playwright
- removes the webdriver project
- adds e2e tests to our examples app
- replaces all `data-wd` attributes with `data-testid`

### Coverage

Most of the tests from our previous e2e tests are reproduced here,
though there are some related to our gestures that will need to be done
in a different way—or not at all. I've also added a handful of new
tests, too.

### Where are they

The tests are now part of our examples app rather than being in its own
different app. This should help us test our different examples too. As
far as I can tell there are no downsides here in terms of the regular
developer experience, though they might complicate any CodeSandbox
projects that are hooked into the examples app.

### Change Type

- [x] `tests` — Changes to any testing-related code only (will not
publish a new version)
2023-05-30 15:28:56 +01:00
..
assets [feature] add laser pointer (#1412) 2023-05-19 11:09:13 +00:00
editor Add playwright tests (#1484) 2023-05-30 15:28:56 +01:00
file-format [refactor] update record names (#1473) 2023-05-26 13:37:59 +00:00
indices Create @tldraw/indices package (#1426) 2023-05-22 08:18:01 +00:00
polyfills avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00
primitives Measure individual words instead of just line breaks for text exports (#1397) 2023-05-22 15:10:03 +00:00
tldraw [chore] refactor user preferences (#1435) 2023-05-25 09:54:29 +00:00
tlschema [tiny] add isPageId (#1482) 2023-05-27 17:53:18 +00:00
tlstore [chore] refactor user preferences (#1435) 2023-05-25 09:54:29 +00:00
tlsync-client [minor] Mark tlsync-client internal APIs (#1481) 2023-05-27 16:18:32 +00:00
tlvalidate avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00
ui Add playwright tests (#1484) 2023-05-30 15:28:56 +01:00
utils Stricter ID types (#1439) 2023-05-24 11:25:41 +00:00