tldraw/apps/examples/e2e/tests
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
..
export-snapshots.spec.ts-snapshots Make sure correct dark mode colours get used in exports (#2492) 2024-01-17 14:31:38 +00:00
fixtures E2E Style Panel Tests (#2878) 2024-02-23 14:37:15 +00:00
test-canvas-events.spec.ts-snapshots Replace Atom.value with Atom.get() (#2189) 2023-11-13 11:51:22 +00:00
context-menu.spec.ts Composable custom UI (#2796) 2024-02-15 12:10:09 +00:00
export-snapshots.spec.ts Composable custom UI (#2796) 2024-02-15 12:10:09 +00:00
test-camera.spec.ts Add playwright tests (#1484) 2023-05-30 15:28:56 +01:00
test-canvas-events.spec.ts Remove focus management (#1953) 2023-10-02 11:29:54 +00:00
test-clipboard.spec.ts Composable custom UI (#2796) 2024-02-15 12:10:09 +00:00
test-focus.spec.ts Examples tweaks (#2681) 2024-02-02 17:36:30 +00:00
test-kbds.spec.ts Composable custom UI (#2796) 2024-02-15 12:10:09 +00:00
test-routes.spec.ts [docs] Fix missing Persistence page (#2828) 2024-02-13 16:19:17 +00:00
test-shapes.spec.ts E2e tests for the toolbar (#2709) 2024-02-16 14:15:00 +00:00
test-smoke.spec.ts E2e tests for the toolbar (#2709) 2024-02-16 14:15:00 +00:00
test-style-panel.spec.ts E2E Style Panel Tests (#2878) 2024-02-23 14:37:15 +00:00
test-text.spec.ts [tech debt] Primitives renaming party / cleanup (#2396) 2024-01-03 12:13:15 +00:00
test-toolbar.spec.ts E2E Style Panel Tests (#2878) 2024-02-23 14:37:15 +00:00