Attempt 1 $ node scripts/prove-scenario.ts scripts/scenarios/discard-preparing-image.e2e.ts --base b90ffeaf2887b41fdedecfd170d7701e3822d9b9 --head 7a2db41ca7267d47616c57ede61cb52001bb3284 --upload-command 'ghdrop upload' ⊘ cache disabled Scope: all 42 workspace projects ✓ Lockfile passes supply-chain policies (verified 12m ago) Lockfile is up to date, resolution step is skipped Packages are hard linked from the content-addressable store to the virtual store. Content-addressable store is at: Virtual store is at: node_modules/.pnpm Progress: resolved 804, reused 804, downloaded 0, added 789 Progress: resolved 1313, reused 1313, downloaded 0, added 1298 Progress: resolved 1775, reused 1775, downloaded 0, added 1775 Packages: +1779 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Progress: resolved 1779, reused 1775, downloaded 0, added 1779, done .../esbuild@0.28.2/node_modules/esbuild postinstall$ node install.js .../esbuild@0.28.2/node_modules/esbuild postinstall: Done .../react-native-enriched-markdown postinstall$ node postinstall.mjs .../node_modules/node-pty install$ node scripts/prebuild.js || node-gyp rebuild .../node_modules/node-pty install: > Checking prebuilds... .../node_modules/node-pty install: Done .../node_modules/node-pty postinstall$ node scripts/post-install.js .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] restoring vendored native assets ... .../node_modules/node-pty postinstall: > Cleaning release folder... .../node_modules/node-pty postinstall: > Moving conpty.dll... .../node_modules/node-pty postinstall: SKIPPED (not Windows) .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] fetching runtime v0.26.3 from https://github.com/tree-sitter/tree-sitter/archive/refs/tags/v0.26.3.tar.gz .../node_modules/node-pty postinstall: Done .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] runtime -> react-native-enriched-markdown/cpp/highlight/vendor/tree-sitter/src .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] downloading tree-sitter-json@0.24.8 ... .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] downloading tree-sitter-html@0.23.2 ... .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] downloading tree-sitter-css@0.23.2 ... .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] downloading @tree-sitter-grammars/tree-sitter-markdown@0.3.2 ... .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] downloading @tree-sitter-grammars/tree-sitter-yaml@0.7.1 ... .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] downloading tree-sitter-go@0.23.4 ... .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] downloading tree-sitter-java@0.23.5 ... .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] downloading tree-sitter-javascript@0.23.1 ... .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] downloading tree-sitter-python@0.23.6 ... .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] downloading tree-sitter-c@0.23.5 ... .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] downloading tree-sitter-rust@0.23.2 ... .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] downloading tree-sitter-bash@0.23.3 ... .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] downloading tree-sitter-typescript@0.23.2 ... .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] downloading tree-sitter-cpp@0.23.4 ... .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] downloading tree-sitter-swift@0.7.0 ... .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] downloading tree-sitter-php@0.24.2 ... .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] downloading tree-sitter-ruby@0.23.1 ... .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] downloading tree-sitter-c-sharp@0.23.1 ... .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] json -> react-native-enriched-markdown/cpp/highlight/vendor/grammars/json .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] html -> react-native-enriched-markdown/cpp/highlight/vendor/grammars/html .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] css -> react-native-enriched-markdown/cpp/highlight/vendor/grammars/css .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] markdown -> react-native-enriched-markdown/cpp/highlight/vendor/grammars/markdown .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] yaml -> react-native-enriched-markdown/cpp/highlight/vendor/grammars/yaml .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] go -> react-native-enriched-markdown/cpp/highlight/vendor/grammars/go .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] java -> react-native-enriched-markdown/cpp/highlight/vendor/grammars/java .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] javascript -> react-native-enriched-markdown/cpp/highlight/vendor/grammars/javascript .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] python -> react-native-enriched-markdown/cpp/highlight/vendor/grammars/python .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] c -> react-native-enriched-markdown/cpp/highlight/vendor/grammars/c .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] rust -> react-native-enriched-markdown/cpp/highlight/vendor/grammars/rust .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] bash -> react-native-enriched-markdown/cpp/highlight/vendor/grammars/bash .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] typescript -> react-native-enriched-markdown/cpp/highlight/vendor/grammars/typescript .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] tsx -> react-native-enriched-markdown/cpp/highlight/vendor/grammars/tsx .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] cpp -> react-native-enriched-markdown/cpp/highlight/vendor/grammars/cpp .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] swift -> react-native-enriched-markdown/cpp/highlight/vendor/grammars/swift .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] php -> react-native-enriched-markdown/cpp/highlight/vendor/grammars/php .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] ruby -> react-native-enriched-markdown/cpp/highlight/vendor/grammars/ruby .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] c-sharp -> react-native-enriched-markdown/cpp/highlight/vendor/grammars/c-sharp .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] grammar sources ready. .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] done. .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] fetching xcframework from https://github.com/erweixin/RaTeX/releases/download/v0.1.15/RaTeX.xcframework.zip .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] fetching source from https://github.com/erweixin/RaTeX/archive/refs/tags/v0.1.15.tar.gz .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] RaTeX v0.1.15 -> .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] done. .../react-native-enriched-markdown postinstall: [react-native-enriched-markdown] postinstall complete. .../react-native-enriched-markdown postinstall: Done Agent skills awaiting approval: e2e. Run "pnpm approve" to review them. . prepare$ vp config --no-agent . prepare: Done devDependencies: + @coderabbitai/config 1.2.0 + @effect/tsgo 0.67.1 + @shadcn/lint 0.1.5 + @types/node 24.12.4 + knip 6.34.0 + vite-plus 1.4.0 Done in 11.7s using pnpm v12.14.0 RUN e2e v0.23.0 run 01a1da20-e6b2-7642-bcc5-f5a1c396a638 · targets: web, ios ✓ target "web" command at http://127.0.0.1:41227/.well-known/t3/environment ready 12.15s × |web| scenarios/discard-preparing-image.e2e.ts > Discard survives a pasted image finishing compression and Undo restores the prompt 52.57s → locator matched no nodes within getByRole("button", name: "Remove image"… ❯ |web| scenarios/discard-preparing-image.e2e.ts (1 test | 1 failed) 52.57s ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ FAIL |web| scenarios/discard-preparing-image.e2e.ts > Discard survives a pasted image finishing compression and Undo restores the prompt LOCATOR_NOT_FOUND: locator matched no nodes within getByRole("button", name: "Remove image").first() ❯ scenarios/discard-preparing-image.e2e.ts:34:5 32| document.querySelector('[contenteditable="true"]')!.dispatchEve… 33| }); 34| await screen.getByRole("button", "Remove image").first().hover(); | ^ 35| }; 36| const finish = async () => { ❯ at http://127.0.0.1:41227/ced386c7-11a9-495f-a623-c7001ee6b2f2/mcp:e98ecb1c-e774-45c2-a0f5-bd1935fda883 ❯ on screen #n9005 button "Remove large-screenshot.png" ❯ app 1 warning logged ❯ trace .e2e/prove/base/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/trace.md ❯ video .e2e/prove/base/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/video/video.webm ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯ Test Files 1 failed | 0 passed (1) Tests 1 failed | 0 passed (1) Start at 12:55:52 Duration 66.97s (1m 7s, startup 12.15s) Traces .e2e/prove/base/results/ (1 page, trace.md in each test's directory) Markdown .e2e/prove/base/summary.md Failed × |web| scenarios/discard-preparing-image.e2e.ts:34 > Discard survives a pasted image finishing compression and Undo restores the prompt LOCATOR_NOT_FOUND: locator matched no nodes within getByRole("button", name: "Remove image").first() trace .e2e/prove/base/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/trace.md Scope: all 42 workspace projects ✓ Lockfile passes supply-chain policies (verified 14m ago) Lockfile is up to date, resolution step is skipped Packages are hard linked from the content-addressable store to the virtual store. Content-addressable store is at: Virtual store is at: node_modules/.pnpm Progress: resolved 880, reused 880, downloaded 0, added 865 Progress: resolved 1548, reused 1548, downloaded 0, added 1534 Progress: resolved 1762, reused 1761, downloaded 0, added 1754 Packages: +1779 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Progress: resolved 1779, reused 1775, downloaded 0, added 1779, done Agent skills awaiting approval: e2e. Run "pnpm approve" to review them. . prepare$ vp config --no-agent . prepare: Done devDependencies: + @coderabbitai/config 1.2.0 + @effect/tsgo 0.67.1 + @shadcn/lint 0.1.5 + @types/node 24.12.4 + knip 6.34.0 + vite-plus 1.4.0 Done in 5.5s using pnpm v12.14.0 RUN e2e v0.23.0 run 01a1da22-28d4-7a70-bf9b-5eb8451ddc2d · targets: web, ios ✓ target "web" command at http://127.0.0.1:41537/.well-known/t3/environment ready 8.28s Attempt 2 $ node scripts/prove-scenario.ts scripts/scenarios/discard-preparing-image.e2e.ts --base b90ffeaf2887b41fdedecfd170d7701e3822d9b9 --head 7a2db41ca7267d47616c57ede61cb52001bb3284 --upload-command 'ghdrop upload' ⊘ cache disabled Scope: all 42 workspace projects ✓ Lockfile passes supply-chain policies (verified 15m ago) Lockfile is up to date, resolution step is skipped Packages are hard linked from the content-addressable store to the virtual store. Content-addressable store is at: Virtual store is at: node_modules/.pnpm Progress: resolved 948, reused 948, downloaded 0, added 933 Progress: resolved 1346, reused 1346, downloaded 0, added 1331 Progress: resolved 1707, reused 1707, downloaded 0, added 1698 Packages: +1779 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Progress: resolved 1779, reused 1775, downloaded 0, added 1779, done Agent skills awaiting approval: e2e. Run "pnpm approve" to review them. . prepare$ vp config --no-agent . prepare: Done devDependencies: + @coderabbitai/config 1.2.0 + @effect/tsgo 0.67.1 + @shadcn/lint 0.1.5 + @types/node 24.12.4 + knip 6.34.0 + vite-plus 1.4.0 Done in 5.6s using pnpm v12.14.0 RUN e2e v0.23.0 run 01a1da22-f1f5-7ff4-adf9-83918d1bb6eb · targets: web, ios ✓ target "web" command at http://127.0.0.1:46513/.well-known/t3/environment ready 9.00s × |web| scenarios/discard-preparing-image.e2e.ts > Discard survives a pasted image finishing compression and Undo restores the prompt 57.10s → locator matched no nodes within getByTestId("sidebar-row-card").filter({… ❯ |web| scenarios/discard-preparing-image.e2e.ts (1 test | 1 failed) 57.10s ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ FAIL |web| scenarios/discard-preparing-image.e2e.ts > Discard survives a pasted image finishing compression and Undo restores the prompt LOCATOR_NOT_FOUND: locator matched no nodes within getByTestId("sidebar-row-card").filter({ hasText: "Keep this new-thread prompt" }); candidates left after each filter step, counted after the failure: getByTestId("sidebar-row-card"): 2 getByTestId("sidebar-row-card").filter({ hasText: "Keep this new-thread prompt" }): 0 ❯ scenarios/discard-preparing-image.e2e.ts:60:3 58| await screen.getByRole("textbox").fill("Keep this new-thread prompt… 59| await screen.getByTestId("sidebar-row-card").filter({hasText:"Other… 60| await screen.getByTestId("sidebar-row-card").filter({hasText:"Keep … | ^ 61| await paste(); 62| await app.screenshot("new-draft-preparing"); ❯ at http://127.0.0.1:46513/f4e1eba5-e816-432f-8185-c48c77730ebf/mcp%3Ab8535208-ddc5-4c26-b986-88392f823fd2 ❯ on screen #n6011 button "Other thread, Draft evidence" testid="sidebar-row-card" ❯ on screen #n6019 button "Source thread, Draft evidence" testid="sidebar-row-card" ❯ app 1 warning logged ❯ trace .e2e/prove/base/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/trace.md ❯ video .e2e/prove/base/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/video/video.webm ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯ Test Files 1 failed | 0 passed (1) Tests 1 failed | 0 passed (1) Start at 12:58:06 Duration 67.55s (1m 8s, startup 9.00s) Traces .e2e/prove/base/results/ (1 page, trace.md in each test's directory) Screenshots .e2e/prove/base/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/screenshots/001-existing-preparing.png .e2e/prove/base/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/screenshots/002-existing-after-compression.png .e2e/prove/base/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/screenshots/003-existing-after-undo.png Markdown .e2e/prove/base/summary.md Failed × |web| scenarios/discard-preparing-image.e2e.ts:60 > Discard survives a pasted image finishing compression and Undo restores the prompt LOCATOR_NOT_FOUND: locator matched no nodes within getByTestId("sidebar-row-card").filter({ hasText: "Keep this new-thread prompt" }); candidates left after each filter step, counted after the failure: trace .e2e/prove/base/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/trace.md Scope: all 42 workspace projects ✓ Lockfile passes supply-chain policies (verified 16m ago) Lockfile is up to date, resolution step is skipped Packages are hard linked from the content-addressable store to the virtual store. Content-addressable store is at: Virtual store is at: node_modules/.pnpm Progress: resolved 730, reused 730, downloaded 0, added 715 Progress: resolved 1540, reused 1540, downloaded 0, added 1524 Progress: resolved 1764, reused 1764, downloaded 0, added 1757 Packages: +1779 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Progress: resolved 1779, reused 1775, downloaded 0, added 1779, done Agent skills awaiting approval: e2e. Run "pnpm approve" to review them. . prepare$ vp config --no-agent . prepare: Done devDependencies: + @coderabbitai/config 1.2.0 + @effect/tsgo 0.67.1 + @shadcn/lint 0.1.5 + @types/node 24.12.4 + knip 6.34.0 + vite-plus 1.4.0 Done in 5.4s using pnpm v12.14.0 RUN e2e v0.23.0 run 01a1da24-52e8-798c-9d65-912511518dfa · targets: web, ios ✓ target "web" command at http://127.0.0.1:46871/.well-known/t3/environment ready 8.67s × |web| scenarios/discard-preparing-image.e2e.ts > Discard survives a pasted image finishing compression and Undo restores the prompt 24.51s → locator matched 2 nodes, expected exactly one: getByRole("button", name:… ❯ |web| scenarios/discard-preparing-image.e2e.ts (1 test | 1 failed) 24.51s ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ FAIL |web| scenarios/discard-preparing-image.e2e.ts > Discard survives a pasted image finishing compression and Undo restores the prompt LOCATOR_AMBIGUOUS: locator matched 2 nodes, expected exactly one: getByRole("button", name: "Discard draft") ❯ scenarios/discard-preparing-image.e2e.ts:64:3 62| await finish(); 63| await app.screenshot("existing-after-compression"); 64| const markerReturned = await browser.locator('[aria-label="Unsent d… | ^ 65| await screen.getByRole("button",/to undo|^Undo$/).tap(); 66| await screen.getByTestId("sidebar-row-card").filter({hasText:"Sourc… ❯ at http://127.0.0.1:46871/draft/ec22d8a0-d0a8-4bb9-bf4d-e4f6fff7168b ❯ on screen #n33014 button "Discard draft" ❯ on screen #n27010 button "Discard draft" ❯ on screen #n33012 button "Keep this new-thread prompt, Unsent draft, Draft evidence" testid="sidebar-draft-row" ❯ on screen #n6011 button "Other thread, Draft evidence" testid="sidebar-row-card" ❯ on screen #n6019 button "Source thread, Draft evidence" testid="sidebar-row-card" ❯ app 1 warning logged ❯ trace .e2e/prove/head/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/trace.md ❯ video .e2e/prove/head/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/video/video.webm ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯ Test Files 1 failed | 0 passed (1) Tests 1 failed | 0 passed (1) Start at 12:59:36 Duration 34.53s (startup 8.67s) Traces .e2e/prove/head/results/ (1 page, trace.md in each test's directory) Screenshots .e2e/prove/head/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/screenshots/001-existing-preparing.png .e2e/prove/head/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/screenshots/002-existing-after-compression.png .e2e/prove/head/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/screenshots/003-existing-after-undo.png .e2e/prove/head/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/screenshots/004-new-draft-preparing.png Markdown .e2e/prove/head/summary.md Failed × |web| scenarios/discard-preparing-image.e2e.ts:64 > Discard survives a pasted image finishing compression and Undo restores the prompt LOCATOR_AMBIGUOUS: locator matched 2 nodes, expected exactly one: getByRole("button", name: "Discard draft") trace .e2e/prove/head/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/trace.md { "scenario": "Discard survives a pasted image finishing compression and Undo restores the prompt", "failsOnBase": false, "passesOnHead": false, "couldNotRun": "scenario", "baseSha": "b90ffeaf2887b41fdedecfd170d7701e3822d9b9", "headSha": "7a2db41ca7267d47616c57ede61cb52001bb3284", "verdict": "Not proven: the scenario could not run on base `b90ffeaf28` (LOCATOR_NOT_FOUND: locator matched no nodes within getByTestId(\"sidebar-row-card\").filter({ hasText: \"Keep this new-thread prompt\" }); candidates left after each filter step, counted after the failure:\ngetByTestId(\"sidebar-row-card\"): 2\ngetByTestId(\"sidebar-row-card\").filter({ hasText: \"Keep this new-thread prompt\" }): 0). The app ran and the scenario stopped before its assertion: fix the scenario and run it again.", "steps": { "base": [ { "step": "app.open ", "status": "passed" }, { "step": "expect.not.toHaveURL /\\/pair(?:[?#]|$)/", "status": "passed" }, { "step": "app.open /f4e1eba5-e816-432f-8185-c48c77730ebf/mcp:8eceaec1-ee1c-4894-9507-2d383a3288e5", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.fill getByRole(\"textbox\")", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.hover getByRole(\"button\", name: \"Remove large-screenshot.png\").first()", "status": "passed" }, { "step": "app.screenshot existing-preparing", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Other thread\" })", "status": "passed" }, { "step": "locator.hover getByTestId(\"sidebar-row-card\").filter({ hasText: \"Source thread\" })", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: \"Discard draft\")", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "app.screenshot existing-after-compression", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: /to undo|^Undo$/)", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Source thread\" })", "status": "passed" }, { "step": "app.screenshot existing-after-undo", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: \"New thread in Draft evidence\")", "status": "passed" }, { "step": "locator.fill getByRole(\"textbox\")", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Other thread\" })", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Keep this new-thread prompt\" })", "status": "failed" } ], "head": [ { "step": "app.open ", "status": "passed" }, { "step": "expect.not.toHaveURL /\\/pair(?:[?#]|$)/", "status": "passed" }, { "step": "app.open /615dfd17-f40e-403a-801b-b6d0092cca39/mcp:698bfe65-5328-4248-b3f6-3e0a28cf0d81", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.fill getByRole(\"textbox\")", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.hover getByRole(\"button\", name: \"Remove large-screenshot.png\").first()", "status": "passed" }, { "step": "app.screenshot existing-preparing", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Other thread\" })", "status": "passed" }, { "step": "locator.hover getByTestId(\"sidebar-row-card\").filter({ hasText: \"Source thread\" })", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: \"Discard draft\")", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "app.screenshot existing-after-compression", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: /to undo|^Undo$/)", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Source thread\" })", "status": "passed" }, { "step": "app.screenshot existing-after-undo", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: \"New thread in Draft evidence\")", "status": "passed" }, { "step": "locator.fill getByRole(\"textbox\")", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Other thread\" })", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-draft-row\").filter({ hasText: \"Keep this new-thread prompt\" })", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.hover getByRole(\"button\", name: \"Remove large-screenshot.png\").first()", "status": "passed" }, { "step": "app.screenshot new-draft-preparing", "status": "passed" }, { "step": "locator.hover getByTestId(\"sidebar-draft-row\").filter({ hasText: \"Keep this new-thread prompt\" })", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: \"Discard draft\")", "status": "failed" } ] }, "captures": [ "", "", "", "", "", "", "", "", "" ], "videos": [ "", "" ], "markdown": "### Scenario: Discard survives a pasted image finishing compression and Undo restores the prompt\n\n**Not proven: the scenario could not run on base `b90ffeaf28` (LOCATOR_NOT_FOUND: locator matched no nodes within getByTestId(\"sidebar-row-card\").filter({ hasText: \"Keep this new-thread prompt\" }); candidates left after each filter step, counted after the failure:\ngetByTestId(\"sidebar-row-card\"): 2\ngetByTestId(\"sidebar-row-card\").filter({ hasText: \"Keep this new-thread prompt\" }): 0). The app ran and the scenario stopped before its assertion: fix the scenario and run it again.**\n\n| | Base `b90ffeaf28` | Head `7a2db41ca7` |\n| --- | --- | --- |\n| Result | ⚠️ could not run
LOCATOR_NOT_FOUND: locator matched no nodes within getByTestId(\"sidebar-row-card\").filter({ hasText: \"Keep this new-thread prompt\" }); candidates left after each filter step, counted after the failure:
getByTestId(\"sidebar-row-card\"): 2
getByTestId(\"sidebar-row-card\").filter({ hasText: \"Keep this new-thread prompt\" }): 0 | ⚠️ could not run
LOCATOR_AMBIGUOUS: locator matched 2 nodes, expected exactly one: getByRole(\"button\", name: \"Discard draft\") |\n| existing preparing | ![Base b90ffeaf28: existing preparing](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/1e89c993e70157d5/001-existing-preparing.png) | ![Head 7a2db41ca7: existing preparing](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/1394d61e7b48f09a/001-existing-preparing.png) |\n| existing after compression | ![Base b90ffeaf28: existing after compression](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/ee4782cbf3c141cf/002-existing-after-compression.png) | ![Head 7a2db41ca7: existing after compression](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/a30c820e2d86454d/002-existing-after-compression.png) |\n| existing after undo | ![Base b90ffeaf28: existing after undo](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/f50f3a5c520a4497/003-existing-after-undo.png) | ![Head 7a2db41ca7: existing after undo](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/8a01f0409eb4711b/003-existing-after-undo.png) |\n| failure | ![Base b90ffeaf28: failure](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/2795d92fa00f6c91/004-failure.png) | ![Head 7a2db41ca7: failure](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/3ec6476b85c8a464/005-failure.png) |\n| new draft preparing | | ![Head 7a2db41ca7: new draft preparing](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/e1cf4f0a54082734/004-new-draft-preparing.png) |\n", "base": { "sha": "b90ffeaf2887b41fdedecfd170d7701e3822d9b9", "status": "error", "stopped": "scenario", "title": "Discard survives a pasted image finishing compression and Undo restores the prompt", "message": "LOCATOR_NOT_FOUND: locator matched no nodes within getByTestId(\"sidebar-row-card\").filter({ hasText: \"Keep this new-thread prompt\" }); candidates left after each filter step, counted after the failure:\ngetByTestId(\"sidebar-row-card\"): 2\ngetByTestId(\"sidebar-row-card\").filter({ hasText: \"Keep this new-thread prompt\" }): 0", "steps": [ { "step": "app.open ", "status": "passed" }, { "step": "expect.not.toHaveURL /\\/pair(?:[?#]|$)/", "status": "passed" }, { "step": "app.open /f4e1eba5-e816-432f-8185-c48c77730ebf/mcp:8eceaec1-ee1c-4894-9507-2d383a3288e5", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.fill getByRole(\"textbox\")", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.hover getByRole(\"button\", name: \"Remove large-screenshot.png\").first()", "status": "passed" }, { "step": "app.screenshot existing-preparing", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Other thread\" })", "status": "passed" }, { "step": "locator.hover getByTestId(\"sidebar-row-card\").filter({ hasText: \"Source thread\" })", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: \"Discard draft\")", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "app.screenshot existing-after-compression", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: /to undo|^Undo$/)", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Source thread\" })", "status": "passed" }, { "step": "app.screenshot existing-after-undo", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: \"New thread in Draft evidence\")", "status": "passed" }, { "step": "locator.fill getByRole(\"textbox\")", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Other thread\" })", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Keep this new-thread prompt\" })", "status": "failed" } ], "captures": [ "", "", "", "" ], "videos": [ "" ] }, "head": { "sha": "7a2db41ca7267d47616c57ede61cb52001bb3284", "status": "error", "stopped": "scenario", "title": "Discard survives a pasted image finishing compression and Undo restores the prompt", "message": "LOCATOR_AMBIGUOUS: locator matched 2 nodes, expected exactly one: getByRole(\"button\", name: \"Discard draft\")", "steps": [ { "step": "app.open ", "status": "passed" }, { "step": "expect.not.toHaveURL /\\/pair(?:[?#]|$)/", "status": "passed" }, { "step": "app.open /615dfd17-f40e-403a-801b-b6d0092cca39/mcp:698bfe65-5328-4248-b3f6-3e0a28cf0d81", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.fill getByRole(\"textbox\")", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.hover getByRole(\"button\", name: \"Remove large-screenshot.png\").first()", "status": "passed" }, { "step": "app.screenshot existing-preparing", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Other thread\" })", "status": "passed" }, { "step": "locator.hover getByTestId(\"sidebar-row-card\").filter({ hasText: \"Source thread\" })", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: \"Discard draft\")", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "app.screenshot existing-after-compression", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: /to undo|^Undo$/)", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Source thread\" })", "status": "passed" }, { "step": "app.screenshot existing-after-undo", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: \"New thread in Draft evidence\")", "status": "passed" }, { "step": "locator.fill getByRole(\"textbox\")", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Other thread\" })", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-draft-row\").filter({ hasText: \"Keep this new-thread prompt\" })", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.hover getByRole(\"button\", name: \"Remove large-screenshot.png\").first()", "status": "passed" }, { "step": "app.screenshot new-draft-preparing", "status": "passed" }, { "step": "locator.hover getByTestId(\"sidebar-draft-row\").filter({ hasText: \"Keep this new-thread prompt\" })", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: \"Discard draft\")", "status": "failed" } ], "captures": [ "", "", "", "", "" ], "videos": [ "" ] } } Attempt 3 $ node scripts/prove-scenario.ts scripts/scenarios/discard-preparing-image.e2e.ts --base b90ffeaf2887b41fdedecfd170d7701e3822d9b9 --head 7a2db41ca7267d47616c57ede61cb52001bb3284 --upload-command 'ghdrop upload' ⊘ cache disabled Scope: all 42 workspace projects ✓ Lockfile passes supply-chain policies (verified 17m ago) Lockfile is up to date, resolution step is skipped Packages are hard linked from the content-addressable store to the virtual store. Content-addressable store is at: Virtual store is at: node_modules/.pnpm Progress: resolved 947, reused 947, downloaded 0, added 932 Progress: resolved 1496, reused 1496, downloaded 0, added 1485 Packages: +1779 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Progress: resolved 1779, reused 1775, downloaded 0, added 1779, done Agent skills awaiting approval: e2e. Run "pnpm approve" to review them. . prepare$ vp config --no-agent . prepare: Done devDependencies: + @coderabbitai/config 1.2.0 + @effect/tsgo 0.67.1 + @shadcn/lint 0.1.5 + @types/node 24.12.4 + knip 6.34.0 + vite-plus 1.4.0 Done in 4.6s using pnpm v12.14.0 RUN e2e v0.23.0 run 01a1da25-4570-785b-9f7f-9da61f08a000 · targets: web, ios ✓ target "web" command at http://127.0.0.1:36257/.well-known/t3/environment ready 7.77s × |web| scenarios/discard-preparing-image.e2e.ts > Discard survives a pasted image finishing compression and Undo restores the prompt 29.95s → expected 1 to be 0 ❯ |web| scenarios/discard-preparing-image.e2e.ts (1 test | 1 failed) 29.95s ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ FAIL |web| scenarios/discard-preparing-image.e2e.ts > Discard survives a pasted image finishing compression and Undo restores the prompt ASSERTION_FAILED: expected 1 to be 0 ❯ scenarios/discard-preparing-image.e2e.ts:89:32 87| const newRestoredImages = await browser.locator('[aria-label="Previ… 88| const preparingRestored = await browser.locator('[aria-label="Previ… 89| await expect(markerReturned).toBe(0); | ^ 90| await expect(restoredImages).toBe(1); 91| await expect(newRestoredImages).toBe(1); ❯ at http://127.0.0.1:36257/draft/0916a7e7-5b32-4389-8836-a26460381695 ❯ app 2 errors, 1 warning logged × console error: flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task. (at /node_modules/.vite/deps/react-dom-CnnpCRXy.js?v=91413299:92) × console error: flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task. (at /node_modules/.vite/deps/react-dom-CnnpCRXy.js?v=91413299:92) ❯ trace .e2e/prove/base/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/trace.md ❯ video .e2e/prove/base/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/video/video.webm ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯ Test Files 1 failed | 0 passed (1) Tests 1 failed | 0 passed (1) Start at 13:00:38 Duration 38.96s (startup 7.77s) Traces .e2e/prove/base/results/ (1 page, trace.md in each test's directory) Screenshots .e2e/prove/base/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/screenshots/001-existing-preparing.png .e2e/prove/base/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/screenshots/002-existing-after-compression.png .e2e/prove/base/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/screenshots/003-existing-after-undo.png .e2e/prove/base/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/screenshots/004-new-draft-preparing.png .e2e/prove/base/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/screenshots/005-new-draft-after-compression.png .e2e/prove/base/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/screenshots/006-new-draft-after-undo.png Markdown .e2e/prove/base/summary.md Failed × |web| scenarios/discard-preparing-image.e2e.ts:89 > Discard survives a pasted image finishing compression and Undo restores the prompt ASSERTION_FAILED: expected 1 to be 0 trace .e2e/prove/base/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/trace.md Scope: all 42 workspace projects ✓ Lockfile passes supply-chain policies (verified 18m ago) Lockfile is up to date, resolution step is skipped Packages are hard linked from the content-addressable store to the virtual store. Content-addressable store is at: Virtual store is at: node_modules/.pnpm Progress: resolved 905, reused 905, downloaded 0, added 889 Progress: resolved 1595, reused 1595, downloaded 0, added 1581 Packages: +1779 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Progress: resolved 1779, reused 1775, downloaded 0, added 1779, done Agent skills awaiting approval: e2e. Run "pnpm approve" to review them. . prepare$ vp config --no-agent . prepare: Done devDependencies: + @coderabbitai/config 1.2.0 + @effect/tsgo 0.67.1 + @shadcn/lint 0.1.5 + @types/node 24.12.4 + knip 6.34.0 + vite-plus 1.4.0 Done in 4.1s using pnpm v12.14.0 RUN e2e v0.23.0 run 01a1da26-15f4-78f3-8e37-7b96514eb5c4 · targets: web, ios ✓ target "web" command at http://127.0.0.1:36407/.well-known/t3/environment ready 6.72s ✓ |web| scenarios/discard-preparing-image.e2e.ts > Discard survives a pasted image finishing compression and Undo restores the prompt 30.54s ✓ |web| scenarios/discard-preparing-image.e2e.ts (1 test) 30.54s Test Files 1 passed (1) Tests 1 passed (1) Start at 13:01:32 Duration 38.41s (startup 6.72s) Traces .e2e/prove/head/results/ (1 page, trace.md in each test's directory) Screenshots .e2e/prove/head/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/screenshots/001-existing-preparing.png .e2e/prove/head/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/screenshots/002-existing-after-compression.png .e2e/prove/head/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/screenshots/003-existing-after-undo.png .e2e/prove/head/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/screenshots/004-new-draft-preparing.png .e2e/prove/head/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/screenshots/005-new-draft-after-compression.png .e2e/prove/head/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/screenshots/006-new-draft-after-undo.png Markdown .e2e/prove/head/summary.md { "scenario": "Discard survives a pasted image finishing compression and Undo restores the prompt", "failsOnBase": true, "passesOnHead": true, "couldNotRun": null, "baseSha": "b90ffeaf2887b41fdedecfd170d7701e3822d9b9", "headSha": "7a2db41ca7267d47616c57ede61cb52001bb3284", "verdict": "Proven: the scenario fails on base `b90ffeaf28` and passes on head `7a2db41ca7`.", "steps": { "base": [ { "step": "app.open ", "status": "passed" }, { "step": "expect.not.toHaveURL /\\/pair(?:[?#]|$)/", "status": "passed" }, { "step": "app.open /625fea9a-4ac3-4251-8b7a-01120775cf0b/mcp:ab6ab2be-154b-47d1-8a59-71084719e500", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.fill getByRole(\"textbox\")", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.hover getByRole(\"button\", name: \"Remove large-screenshot.png\").first()", "status": "passed" }, { "step": "app.screenshot existing-preparing", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Other thread\" })", "status": "passed" }, { "step": "locator.hover getByTestId(\"sidebar-row-card\").filter({ hasText: \"Source thread\" })", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Source thread\" }) >> getByRole(\"button\", name: \"Discard draft\")", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "app.screenshot existing-after-compression", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: /to undo|^Undo$/)", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Source thread\" })", "status": "passed" }, { "step": "app.screenshot existing-after-undo", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: \"New thread in Draft evidence\")", "status": "passed" }, { "step": "locator.fill getByRole(\"textbox\")", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Other thread\" })", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-draft-row\").filter({ hasText: \"Keep this new-thread prompt\" })", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.hover getByRole(\"button\", name: \"Remove large-screenshot.png\").first()", "status": "passed" }, { "step": "app.screenshot new-draft-preparing", "status": "passed" }, { "step": "locator.hover getByTestId(\"sidebar-draft-row\").filter({ hasText: \"Keep this new-thread prompt\" })", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-draft-row\").filter({ hasText: \"Keep this new-thread prompt\" }) >> getByRole(\"button\", name: \"Discard draft\")", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "app.screenshot new-draft-after-compression", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: /to undo|^Undo$/)", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "app.screenshot new-draft-after-undo", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" } ], "head": [ { "step": "app.open ", "status": "passed" }, { "step": "expect.not.toHaveURL /\\/pair(?:[?#]|$)/", "status": "passed" }, { "step": "app.open /b109175c-37d4-40c8-bc52-d33606d0f725/mcp:dd643d46-0ec6-4999-bcda-d1c1286178a2", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.fill getByRole(\"textbox\")", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.hover getByRole(\"button\", name: \"Remove large-screenshot.png\").first()", "status": "passed" }, { "step": "app.screenshot existing-preparing", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Other thread\" })", "status": "passed" }, { "step": "locator.hover getByTestId(\"sidebar-row-card\").filter({ hasText: \"Source thread\" })", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Source thread\" }) >> getByRole(\"button\", name: \"Discard draft\")", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "app.screenshot existing-after-compression", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: /to undo|^Undo$/)", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Source thread\" })", "status": "passed" }, { "step": "app.screenshot existing-after-undo", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: \"New thread in Draft evidence\")", "status": "passed" }, { "step": "locator.fill getByRole(\"textbox\")", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Other thread\" })", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-draft-row\").filter({ hasText: \"Keep this new-thread prompt\" })", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.hover getByRole(\"button\", name: \"Remove large-screenshot.png\").first()", "status": "passed" }, { "step": "app.screenshot new-draft-preparing", "status": "passed" }, { "step": "locator.hover getByTestId(\"sidebar-draft-row\").filter({ hasText: \"Keep this new-thread prompt\" })", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-draft-row\").filter({ hasText: \"Keep this new-thread prompt\" }) >> getByRole(\"button\", name: \"Discard draft\")", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "app.screenshot new-draft-after-compression", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: /to undo|^Undo$/)", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-draft-row\").filter({ hasText: \"Keep this new-thread prompt\" })", "status": "passed" }, { "step": "app.screenshot new-draft-after-undo", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" } ] }, "captures": [ "", "", "", "", "", "", "", "", "", "", "", "", "" ], "videos": [ "", "" ], "markdown": "### Scenario: Discard survives a pasted image finishing compression and Undo restores the prompt\n\n**Proven: the scenario fails on base `b90ffeaf28` and passes on head `7a2db41ca7`.**\n\n| | Base `b90ffeaf28` | Head `7a2db41ca7` |\n| --- | --- | --- |\n| Result | ❌ failed
ASSERTION_FAILED: expected 1 to be 0 | ✅ passed |\n| existing preparing | ![Base b90ffeaf28: existing preparing](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/b7599cd184aeb2c3/001-existing-preparing.png) | ![Head 7a2db41ca7: existing preparing](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/0f7a9bfff54f6511/001-existing-preparing.png) |\n| existing after compression | ![Base b90ffeaf28: existing after compression](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/91858cb3d8ff8bae/002-existing-after-compression.png) | ![Head 7a2db41ca7: existing after compression](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/9d50e17981cdc0a9/002-existing-after-compression.png) |\n| existing after undo | ![Base b90ffeaf28: existing after undo](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/83a7904bf6aebcb0/003-existing-after-undo.png) | ![Head 7a2db41ca7: existing after undo](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/874e7c1209c46545/003-existing-after-undo.png) |\n| new draft preparing | ![Base b90ffeaf28: new draft preparing](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/0f392788bf495072/004-new-draft-preparing.png) | ![Head 7a2db41ca7: new draft preparing](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/d161c1a5ff2373a5/004-new-draft-preparing.png) |\n| new draft after compression | ![Base b90ffeaf28: new draft after compression](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/af5bbe9c4272b9ff/005-new-draft-after-compression.png) | ![Head 7a2db41ca7: new draft after compression](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/8841f8e8d8cb5d41/005-new-draft-after-compression.png) |\n| new draft after undo | ![Base b90ffeaf28: new draft after undo](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/d6b923252268571a/006-new-draft-after-undo.png) | ![Head 7a2db41ca7: new draft after undo](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/50f2d12722fbddaa/006-new-draft-after-undo.png) |\n| failure | ![Base b90ffeaf28: failure](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/3aa679cf4c5b858f/007-failure.png) | |\n", "base": { "sha": "b90ffeaf2887b41fdedecfd170d7701e3822d9b9", "status": "failed", "title": "Discard survives a pasted image finishing compression and Undo restores the prompt", "message": "ASSERTION_FAILED: expected 1 to be 0", "steps": [ { "step": "app.open ", "status": "passed" }, { "step": "expect.not.toHaveURL /\\/pair(?:[?#]|$)/", "status": "passed" }, { "step": "app.open /625fea9a-4ac3-4251-8b7a-01120775cf0b/mcp:ab6ab2be-154b-47d1-8a59-71084719e500", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.fill getByRole(\"textbox\")", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.hover getByRole(\"button\", name: \"Remove large-screenshot.png\").first()", "status": "passed" }, { "step": "app.screenshot existing-preparing", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Other thread\" })", "status": "passed" }, { "step": "locator.hover getByTestId(\"sidebar-row-card\").filter({ hasText: \"Source thread\" })", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Source thread\" }) >> getByRole(\"button\", name: \"Discard draft\")", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "app.screenshot existing-after-compression", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: /to undo|^Undo$/)", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Source thread\" })", "status": "passed" }, { "step": "app.screenshot existing-after-undo", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: \"New thread in Draft evidence\")", "status": "passed" }, { "step": "locator.fill getByRole(\"textbox\")", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Other thread\" })", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-draft-row\").filter({ hasText: \"Keep this new-thread prompt\" })", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.hover getByRole(\"button\", name: \"Remove large-screenshot.png\").first()", "status": "passed" }, { "step": "app.screenshot new-draft-preparing", "status": "passed" }, { "step": "locator.hover getByTestId(\"sidebar-draft-row\").filter({ hasText: \"Keep this new-thread prompt\" })", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-draft-row\").filter({ hasText: \"Keep this new-thread prompt\" }) >> getByRole(\"button\", name: \"Discard draft\")", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "app.screenshot new-draft-after-compression", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: /to undo|^Undo$/)", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "app.screenshot new-draft-after-undo", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" } ], "captures": [ "", "", "", "", "", "", "" ], "videos": [ "" ] }, "head": { "sha": "7a2db41ca7267d47616c57ede61cb52001bb3284", "status": "passed", "title": "Discard survives a pasted image finishing compression and Undo restores the prompt", "steps": [ { "step": "app.open ", "status": "passed" }, { "step": "expect.not.toHaveURL /\\/pair(?:[?#]|$)/", "status": "passed" }, { "step": "app.open /b109175c-37d4-40c8-bc52-d33606d0f725/mcp:dd643d46-0ec6-4999-bcda-d1c1286178a2", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.fill getByRole(\"textbox\")", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.hover getByRole(\"button\", name: \"Remove large-screenshot.png\").first()", "status": "passed" }, { "step": "app.screenshot existing-preparing", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Other thread\" })", "status": "passed" }, { "step": "locator.hover getByTestId(\"sidebar-row-card\").filter({ hasText: \"Source thread\" })", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Source thread\" }) >> getByRole(\"button\", name: \"Discard draft\")", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "app.screenshot existing-after-compression", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: /to undo|^Undo$/)", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Source thread\" })", "status": "passed" }, { "step": "app.screenshot existing-after-undo", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: \"New thread in Draft evidence\")", "status": "passed" }, { "step": "locator.fill getByRole(\"textbox\")", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Other thread\" })", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-draft-row\").filter({ hasText: \"Keep this new-thread prompt\" })", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.hover getByRole(\"button\", name: \"Remove large-screenshot.png\").first()", "status": "passed" }, { "step": "app.screenshot new-draft-preparing", "status": "passed" }, { "step": "locator.hover getByTestId(\"sidebar-draft-row\").filter({ hasText: \"Keep this new-thread prompt\" })", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-draft-row\").filter({ hasText: \"Keep this new-thread prompt\" }) >> getByRole(\"button\", name: \"Discard draft\")", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "app.screenshot new-draft-after-compression", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: /to undo|^Undo$/)", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-draft-row\").filter({ hasText: \"Keep this new-thread prompt\" })", "status": "passed" }, { "step": "app.screenshot new-draft-after-undo", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" } ], "captures": [ "", "", "", "", "", "" ], "videos": [ "" ] } } Attempt 4 $ node scripts/prove-scenario.ts scripts/scenarios/discard-preparing-image.e2e.ts --base b90ffeaf2887b41fdedecfd170d7701e3822d9b9 --head 7a2db41ca7267d47616c57ede61cb52001bb3284 --upload-command 'ghdrop upload' ⊘ cache disabled Scope: all 42 workspace projects ✓ Lockfile passes supply-chain policies (verified 19m ago) Lockfile is up to date, resolution step is skipped Packages are hard linked from the content-addressable store to the virtual store. Content-addressable store is at: Virtual store is at: node_modules/.pnpm Progress: resolved 946, reused 946, downloaded 0, added 930 Progress: resolved 1663, reused 1663, downloaded 0, added 1647 Packages: +1779 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Progress: resolved 1779, reused 1775, downloaded 0, added 1779, done Agent skills awaiting approval: e2e. Run "pnpm approve" to review them. . prepare$ vp config --no-agent . prepare: Done devDependencies: + @coderabbitai/config 1.2.0 + @effect/tsgo 0.67.1 + @shadcn/lint 0.1.5 + @types/node 24.12.4 + knip 6.34.0 + vite-plus 1.4.0 Done in 4.1s using pnpm v12.14.0 RUN e2e v0.23.0 run 01a1da27-5908-7b59-a0e1-062e99cd84bf · targets: web, ios ✓ target "web" command at http://127.0.0.1:33537/.well-known/t3/environment ready 6.02s × |web| scenarios/discard-preparing-image.e2e.ts > Discard survives a pasted image finishing compression and Undo restores the prompt 29.32s → expected 1 to be 0 ❯ |web| scenarios/discard-preparing-image.e2e.ts (1 test | 1 failed) 29.32s ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ FAIL |web| scenarios/discard-preparing-image.e2e.ts > Discard survives a pasted image finishing compression and Undo restores the prompt ASSERTION_FAILED: expected 1 to be 0 ❯ scenarios/discard-preparing-image.e2e.ts:92:32 90| const newRestoredImages = await browser.locator('[aria-label="Previ… 91| const preparingRestored = await browser.locator('[aria-label="Previ… 92| await expect(markerReturned).toBe(0); | ^ 93| await expect(restoredImages).toBe(1); 94| await expect(newRestoredImages).toBe(1); ❯ at http://127.0.0.1:33537/draft/94b16f20-64c9-44c9-8099-ef5db337e7c4 ❯ app 2 errors, 1 warning logged × console error: flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task. (at /node_modules/.vite/deps/react-dom-CnnpCRXy.js?v=831b11c7:92) × console error: flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task. (at /node_modules/.vite/deps/react-dom-CnnpCRXy.js?v=831b11c7:92) ❯ trace .e2e/prove/base/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/trace.md ❯ video .e2e/prove/base/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/video/video.webm ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯ Test Files 1 failed | 0 passed (1) Tests 1 failed | 0 passed (1) Start at 13:02:54 Duration 36.49s (startup 6.02s) Traces .e2e/prove/base/results/ (1 page, trace.md in each test's directory) Screenshots .e2e/prove/base/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/screenshots/001-existing-preparing.png .e2e/prove/base/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/screenshots/002-existing-after-compression.png .e2e/prove/base/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/screenshots/003-existing-after-undo.png .e2e/prove/base/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/screenshots/004-new-draft-preparing.png .e2e/prove/base/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/screenshots/005-new-draft-after-compression.png .e2e/prove/base/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/screenshots/006-new-draft-after-undo.png Markdown .e2e/prove/base/summary.md Failed × |web| scenarios/discard-preparing-image.e2e.ts:92 > Discard survives a pasted image finishing compression and Undo restores the prompt ASSERTION_FAILED: expected 1 to be 0 trace .e2e/prove/base/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/trace.md Scope: all 42 workspace projects ✓ Lockfile passes supply-chain policies (verified 20m ago) Lockfile is up to date, resolution step is skipped Packages are hard linked from the content-addressable store to the virtual store. Content-addressable store is at: Virtual store is at: node_modules/.pnpm Progress: resolved 867, reused 867, downloaded 0, added 852 Progress: resolved 1619, reused 1619, downloaded 0, added 1604 Packages: +1779 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Progress: resolved 1779, reused 1775, downloaded 0, added 1779, done Agent skills awaiting approval: e2e. Run "pnpm approve" to review them. . prepare$ vp config --no-agent . prepare: Done devDependencies: + @coderabbitai/config 1.2.0 + @effect/tsgo 0.67.1 + @shadcn/lint 0.1.5 + @types/node 24.12.4 + knip 6.34.0 + vite-plus 1.4.0 Done in 4.3s using pnpm v12.14.0 RUN e2e v0.23.0 run 01a1da28-1ffe-7c64-b5b7-00681e63a4b3 · targets: web, ios ✓ target "web" command at http://127.0.0.1:44585/.well-known/t3/environment ready 6.60s ✓ |web| scenarios/discard-preparing-image.e2e.ts > Discard survives a pasted image finishing compression and Undo restores the prompt 28.09s ✓ |web| scenarios/discard-preparing-image.e2e.ts (1 test) 28.09s Test Files 1 passed (1) Tests 1 passed (1) Start at 13:03:45 Duration 35.81s (startup 6.60s) Traces .e2e/prove/head/results/ (1 page, trace.md in each test's directory) Screenshots .e2e/prove/head/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/screenshots/001-existing-preparing.png .e2e/prove/head/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/screenshots/002-existing-after-compression.png .e2e/prove/head/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/screenshots/003-existing-after-undo.png .e2e/prove/head/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/screenshots/004-new-draft-preparing.png .e2e/prove/head/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/screenshots/005-new-draft-after-compression.png .e2e/prove/head/results/discard-preparing-image-discard-survives-a-pasted-image-b1027111072f4d70/attempt-1/screenshots/006-new-draft-after-undo.png Markdown .e2e/prove/head/summary.md { "scenario": "Discard survives a pasted image finishing compression and Undo restores the prompt", "failsOnBase": true, "passesOnHead": true, "couldNotRun": null, "baseSha": "b90ffeaf2887b41fdedecfd170d7701e3822d9b9", "headSha": "7a2db41ca7267d47616c57ede61cb52001bb3284", "verdict": "Proven: the scenario fails on base `b90ffeaf28` and passes on head `7a2db41ca7`.", "steps": { "base": [ { "step": "app.open ", "status": "passed" }, { "step": "expect.not.toHaveURL /\\/pair(?:[?#]|$)/", "status": "passed" }, { "step": "app.open /e52f9b9c-9350-4de6-aac6-dd10965a84c0/mcp:57b45b8c-3648-4d18-9f0d-f9d74b863f1f", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.fill getByRole(\"textbox\")", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.hover getByRole(\"button\", name: \"Remove large-screenshot.png\").first()", "status": "passed" }, { "step": "app.screenshot existing-preparing", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Other thread\" })", "status": "passed" }, { "step": "locator.hover getByTestId(\"sidebar-row-card\").filter({ hasText: \"Source thread\" })", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Source thread\" }) >> getByRole(\"button\", name: \"Discard draft\")", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.hover getByRole(\"textbox\")", "status": "passed" }, { "step": "app.screenshot existing-after-compression", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: /to undo|^Undo$/)", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Source thread\" })", "status": "passed" }, { "step": "app.screenshot existing-after-undo", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: \"Dismiss notification\")", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: \"New thread in Draft evidence\")", "status": "passed" }, { "step": "locator.fill getByRole(\"textbox\")", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Other thread\" })", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-draft-row\").filter({ hasText: \"Keep this new-thread prompt\" })", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.hover getByRole(\"button\", name: \"Remove large-screenshot.png\").first()", "status": "passed" }, { "step": "app.screenshot new-draft-preparing", "status": "passed" }, { "step": "locator.hover getByTestId(\"sidebar-draft-row\").filter({ hasText: \"Keep this new-thread prompt\" })", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-draft-row\").filter({ hasText: \"Keep this new-thread prompt\" }) >> getByRole(\"button\", name: \"Discard draft\")", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "app.screenshot new-draft-after-compression", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: /to undo|^Undo$/)", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "app.screenshot new-draft-after-undo", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" } ], "head": [ { "step": "app.open ", "status": "passed" }, { "step": "expect.not.toHaveURL /\\/pair(?:[?#]|$)/", "status": "passed" }, { "step": "app.open /fff0ae38-5c4d-475c-97e7-f6b30d48294c/mcp:44656f7b-dff7-4d54-849c-d704d41a220a", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.fill getByRole(\"textbox\")", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.hover getByRole(\"button\", name: \"Remove large-screenshot.png\").first()", "status": "passed" }, { "step": "app.screenshot existing-preparing", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Other thread\" })", "status": "passed" }, { "step": "locator.hover getByTestId(\"sidebar-row-card\").filter({ hasText: \"Source thread\" })", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Source thread\" }) >> getByRole(\"button\", name: \"Discard draft\")", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.hover getByRole(\"textbox\")", "status": "passed" }, { "step": "app.screenshot existing-after-compression", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: /to undo|^Undo$/)", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Source thread\" })", "status": "passed" }, { "step": "app.screenshot existing-after-undo", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: \"New thread in Draft evidence\")", "status": "passed" }, { "step": "locator.fill getByRole(\"textbox\")", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Other thread\" })", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-draft-row\").filter({ hasText: \"Keep this new-thread prompt\" })", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.hover getByRole(\"button\", name: \"Remove large-screenshot.png\").first()", "status": "passed" }, { "step": "app.screenshot new-draft-preparing", "status": "passed" }, { "step": "locator.hover getByTestId(\"sidebar-draft-row\").filter({ hasText: \"Keep this new-thread prompt\" })", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-draft-row\").filter({ hasText: \"Keep this new-thread prompt\" }) >> getByRole(\"button\", name: \"Discard draft\")", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "app.screenshot new-draft-after-compression", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: /to undo|^Undo$/)", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-draft-row\").filter({ hasText: \"Keep this new-thread prompt\" })", "status": "passed" }, { "step": "app.screenshot new-draft-after-undo", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" } ] }, "captures": [ "", "", "", "", "", "", "", "", "", "", "", "", "" ], "videos": [ "", "" ], "markdown": "### Scenario: Discard survives a pasted image finishing compression and Undo restores the prompt\n\n**Proven: the scenario fails on base `b90ffeaf28` and passes on head `7a2db41ca7`.**\n\n| | Base `b90ffeaf28` | Head `7a2db41ca7` |\n| --- | --- | --- |\n| Result | ❌ failed
ASSERTION_FAILED: expected 1 to be 0 | ✅ passed |\n| existing preparing | ![Base b90ffeaf28: existing preparing](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/605a35414757b2d4/001-existing-preparing.png) | ![Head 7a2db41ca7: existing preparing](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/0e89fafc162ce6e2/001-existing-preparing.png) |\n| existing after compression | ![Base b90ffeaf28: existing after compression](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/2218026c51cceafe/002-existing-after-compression.png) | ![Head 7a2db41ca7: existing after compression](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/9cc31700e1f88444/002-existing-after-compression.png) |\n| existing after undo | ![Base b90ffeaf28: existing after undo](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/e932efd67bb03c8c/003-existing-after-undo.png) | ![Head 7a2db41ca7: existing after undo](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/8b7aa77bacd2a207/003-existing-after-undo.png) |\n| new draft preparing | ![Base b90ffeaf28: new draft preparing](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/e8a925c2b03e4045/004-new-draft-preparing.png) | ![Head 7a2db41ca7: new draft preparing](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/fbd1be3fb6ace416/004-new-draft-preparing.png) |\n| new draft after compression | ![Base b90ffeaf28: new draft after compression](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/1975fb5b16433521/005-new-draft-after-compression.png) | ![Head 7a2db41ca7: new draft after compression](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/e235a106c7a3d790/005-new-draft-after-compression.png) |\n| new draft after undo | ![Base b90ffeaf28: new draft after undo](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/7129ef5cdf4fa146/006-new-draft-after-undo.png) | ![Head 7a2db41ca7: new draft after undo](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/8dd490c33caf027e/006-new-draft-after-undo.png) |\n| failure | ![Base b90ffeaf28: failure](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/bacff34bebd7e700/007-failure.png) | |\n", "base": { "sha": "b90ffeaf2887b41fdedecfd170d7701e3822d9b9", "status": "failed", "title": "Discard survives a pasted image finishing compression and Undo restores the prompt", "message": "ASSERTION_FAILED: expected 1 to be 0", "steps": [ { "step": "app.open ", "status": "passed" }, { "step": "expect.not.toHaveURL /\\/pair(?:[?#]|$)/", "status": "passed" }, { "step": "app.open /e52f9b9c-9350-4de6-aac6-dd10965a84c0/mcp:57b45b8c-3648-4d18-9f0d-f9d74b863f1f", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.fill getByRole(\"textbox\")", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.hover getByRole(\"button\", name: \"Remove large-screenshot.png\").first()", "status": "passed" }, { "step": "app.screenshot existing-preparing", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Other thread\" })", "status": "passed" }, { "step": "locator.hover getByTestId(\"sidebar-row-card\").filter({ hasText: \"Source thread\" })", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Source thread\" }) >> getByRole(\"button\", name: \"Discard draft\")", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.hover getByRole(\"textbox\")", "status": "passed" }, { "step": "app.screenshot existing-after-compression", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: /to undo|^Undo$/)", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Source thread\" })", "status": "passed" }, { "step": "app.screenshot existing-after-undo", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: \"Dismiss notification\")", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: \"New thread in Draft evidence\")", "status": "passed" }, { "step": "locator.fill getByRole(\"textbox\")", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Other thread\" })", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-draft-row\").filter({ hasText: \"Keep this new-thread prompt\" })", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.hover getByRole(\"button\", name: \"Remove large-screenshot.png\").first()", "status": "passed" }, { "step": "app.screenshot new-draft-preparing", "status": "passed" }, { "step": "locator.hover getByTestId(\"sidebar-draft-row\").filter({ hasText: \"Keep this new-thread prompt\" })", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-draft-row\").filter({ hasText: \"Keep this new-thread prompt\" }) >> getByRole(\"button\", name: \"Discard draft\")", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "app.screenshot new-draft-after-compression", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: /to undo|^Undo$/)", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "app.screenshot new-draft-after-undo", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" } ], "captures": [ "", "", "", "", "", "", "" ], "videos": [ "" ] }, "head": { "sha": "7a2db41ca7267d47616c57ede61cb52001bb3284", "status": "passed", "title": "Discard survives a pasted image finishing compression and Undo restores the prompt", "steps": [ { "step": "app.open ", "status": "passed" }, { "step": "expect.not.toHaveURL /\\/pair(?:[?#]|$)/", "status": "passed" }, { "step": "app.open /fff0ae38-5c4d-475c-97e7-f6b30d48294c/mcp:44656f7b-dff7-4d54-849c-d704d41a220a", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.fill getByRole(\"textbox\")", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.hover getByRole(\"button\", name: \"Remove large-screenshot.png\").first()", "status": "passed" }, { "step": "app.screenshot existing-preparing", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Other thread\" })", "status": "passed" }, { "step": "locator.hover getByTestId(\"sidebar-row-card\").filter({ hasText: \"Source thread\" })", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Source thread\" }) >> getByRole(\"button\", name: \"Discard draft\")", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.hover getByRole(\"textbox\")", "status": "passed" }, { "step": "app.screenshot existing-after-compression", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: /to undo|^Undo$/)", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Source thread\" })", "status": "passed" }, { "step": "app.screenshot existing-after-undo", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: \"New thread in Draft evidence\")", "status": "passed" }, { "step": "locator.fill getByRole(\"textbox\")", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-row-card\").filter({ hasText: \"Other thread\" })", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-draft-row\").filter({ hasText: \"Keep this new-thread prompt\" })", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.hover getByRole(\"button\", name: \"Remove large-screenshot.png\").first()", "status": "passed" }, { "step": "app.screenshot new-draft-preparing", "status": "passed" }, { "step": "locator.hover getByTestId(\"sidebar-draft-row\").filter({ hasText: \"Keep this new-thread prompt\" })", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-draft-row\").filter({ hasText: \"Keep this new-thread prompt\" }) >> getByRole(\"button\", name: \"Discard draft\")", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "app.screenshot new-draft-after-compression", "status": "passed" }, { "step": "locator.tap getByRole(\"button\", name: /to undo|^Undo$/)", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" }, { "step": "locator.tap getByTestId(\"sidebar-draft-row\").filter({ hasText: \"Keep this new-thread prompt\" })", "status": "passed" }, { "step": "app.screenshot new-draft-after-undo", "status": "passed" }, { "step": "browser.evaluate ", "status": "passed" } ], "captures": [ "", "", "", "", "", "" ], "videos": [ "" ] } }