tldraw/apps/examples/e2e
Taha fcf97958e8
E2E Style Panel Tests (#2878)
This PR adds E2E tests for the style panel.

It checks that: 
- the style panel opens and closes as expected on mobile
- the style panel button is disabled for the eraser tool on mobile
- selecting a style hints the button
- changing a style changes the appearance of the shape
- It also moves a test from the toolbar tests that checks the correct
styles are exposed for the right tools


fixes tld-2222

- [x] `tests` — Changes to any test code only[^2]


### Release Notes

- Add style panel E2E tests

---------

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2024-02-23 14:37:15 +00:00
..
tests E2E Style Panel Tests (#2878) 2024-02-23 14:37:15 +00:00
global-setup.ts Add playwright tests (#1484) 2023-05-30 15:28:56 +01:00
global-teardown.ts Add playwright tests (#1484) 2023-05-30 15:28:56 +01:00
playwright.config.ts E2E Style Panel Tests (#2878) 2024-02-23 14:37:15 +00:00
shared-e2e.ts StateNode atoms (#2213) 2023-11-14 13:02:50 +00:00