openpencil/tests/e2e
Danila Poyarkov 3289649da8
fix: repair the app e2e suite and the bugs it was hiding (#968)
* fix(code): evaluate behaviour parts such as Switch.Root in the Code tab

Behaviour parts are named through a namespace, and the sandbox passed every element name to new Function as a parameter. A dotted name is not one, so every Design JSX evaluation in the Code tab failed with "Arg string terminates parameters early". Dotted elements are now members of their namespace object, as JSX reads the tag.

* fix(properties): show a fill's whole hex value

The hex input used 12 px text in a field sized for 11 px, so six digits needed 45 px of the 38 px left beside the opacity and variable controls, and the last digit was cut off. The value now uses the field's 11 px text, and the opacity field gives up the space its suffix did not use.

* test: answer the desktop app's startup commands in the Tauri mock

The app now reads credential status and sets native menu checkmarks on startup, and the mock threw on both, failing every spec that simulates the desktop app.

* test: wait for the clipboard write and the previous menu in rich copy

Copy writes once the document is encoded, so reading right after the click found an empty clipboard or one that changed mid-read. Reopening Edit while the menu used for Copy still animated lost the click. openAppMenu waits for every menu to go before clicking a trigger.

* test: follow current settings, page, and picker behaviour in e2e specs

Specs had fallen behind the app: Media settings open a provider editor with its own Save, adding a page opens it, the variable picker's search is a textbox, a reverted reply is no longer dimmed by opacity, and the zoom spec addressed a fixed port instead of the configured server.

* fix(properties): show the whole opacity beside the variable button

A number field with a unit kept the unit's right padding and then the variable button added its own, so Appearance opacity showed "1… %" in the 83 px column. The unit now leaves the spacing to the trailing control.

* test: refresh panel and canvas baselines verified against their changes

Every baseline was compared with its previous image and each difference traced to a merged change: stored colors drawn exactly after color management (#716), stored page backgrounds kept (#949), themed section fills and node-owned section corners (#931, #940), frame names on every top-level frame (#930), Design Check markers (#804), .pen frames laid out horizontally by default (#652), no-rulers honored, stacked W and H fields, Clip content on new frames, and the whole hex and opacity values from this branch.

* docs: note the clipped paint and opacity values in the changelog

* test: open menus through the shared menu driver in menu specs
2026-10-08 17:15:18 +00:00
..
app fix: repair the app e2e suite and the bugs it was hiding (#968) 2026-10-08 17:15:18 +00:00
brand feat: refresh branding with generated platform icons (#707) 2026-09-16 11:54:07 +03:00
canvas fix: repair the app e2e suite and the bugs it was hiding (#968) 2026-10-08 17:15:18 +00:00
chat fix: repair the app e2e suite and the bugs it was hiding (#968) 2026-10-08 17:15:18 +00:00
clipboard fix: repair the app e2e suite and the bugs it was hiding (#968) 2026-10-08 17:15:18 +00:00
code fix: repair the app e2e suite and the bugs it was hiding (#968) 2026-10-08 17:15:18 +00:00
collab feat(collab): show MCP agents, follow streamed JSX, and follow your agents as they work (#725) 2026-10-07 10:04:58 +00:00
color-picker test: typecheck the test suites and fix what that found (#896) 2026-10-05 12:42:38 +00:00
components feat: show controls in a prebuilt demo and fix what saving it to .fig lost (#938) 2026-10-07 18:37:05 +00:00
context-menu feat: create, fill, and edit slots (#862) 2026-10-04 17:02:28 +00:00
design fix: repair the app e2e suite and the bugs it was hiding (#968) 2026-10-08 17:15:18 +00:00
design-check test: typecheck the test suites and fix what that found (#896) 2026-10-05 12:42:38 +00:00
dom-css feat(storybook): generate Radix UI components for React stories (#971) 2026-10-08 10:13:52 +00:00
editor fix: repair the app e2e suite and the bugs it was hiding (#968) 2026-10-08 17:15:18 +00:00
export test: typecheck the test suites and fix what that found (#896) 2026-10-05 12:42:38 +00:00
fonts test: typecheck the test suites and fix what that found (#896) 2026-10-05 12:42:38 +00:00
keyboard feat: create, fill, and edit slots (#862) 2026-10-04 17:02:28 +00:00
layers fix: repair the app e2e suite and the bugs it was hiding (#968) 2026-10-08 17:15:18 +00:00
native feat(ai): add guided AI setup for providers, coding agents, and Pi (#916) 2026-10-07 08:46:57 +00:00
pages fix: match Figma's panel X, Y, rotation and themed page backgrounds (#940) 2026-10-07 10:02:52 +00:00
panels fix: repair the app e2e suite and the bugs it was hiding (#968) 2026-10-08 17:15:18 +00:00
perf test: typecheck the test suites and fix what that found (#896) 2026-10-05 12:42:38 +00:00
properties fix: repair the app e2e suite and the bugs it was hiding (#968) 2026-10-08 17:15:18 +00:00
scene test: honor the configured browser test origin 2026-09-16 12:46:13 +03:00
settings fix: meet WCAG AA contrast and name controls for screen readers (#952) 2026-10-07 17:51:24 +00:00
snap test(snapping): verify pixel rounding without guides 2026-09-13 14:02:16 +03:00
storage fix(app): keep a closing tab's canvas off the next document (#958) 2026-10-07 21:09:58 +00:00
storybook fix: meet WCAG AA contrast and name controls for screen readers (#952) 2026-10-07 17:51:24 +00:00
stroke-picker fix: match Figma's transforms, strokes, booleans, sections, and names (#931) 2026-10-07 08:36:50 +00:00
text fix: repair the app e2e suite and the bugs it was hiding (#968) 2026-10-08 17:15:18 +00:00
toolbar test: typecheck the test suites and fix what that found (#896) 2026-10-05 12:42:38 +00:00
tools test: typecheck the test suites and fix what that found (#896) 2026-10-05 12:42:38 +00:00
ui test(ui): keep runtime theme import dependency-safe 2026-07-20 14:07:32 +03:00
variables feat: import and export W3C design tokens (#964) 2026-10-08 16:53:46 +00:00
vectorize fix: repair the app e2e suite and the bugs it was hiding (#968) 2026-10-08 17:15:18 +00:00
viewport fix: repair the app e2e suite and the bugs it was hiding (#968) 2026-10-08 17:15:18 +00:00
autosave.spec.ts test: typecheck the test suites and fix what that found (#896) 2026-10-05 12:42:38 +00:00
components.spec.ts feat: create, fill, and edit slots (#862) 2026-10-04 17:02:28 +00:00
fixtures.ts test(app): stabilize final interaction coverage 2026-07-20 16:34:16 +03:00
recovery.spec.ts fix: protect unsaved documents and defer credential access (#713) 2026-09-17 15:25:15 +03:00