(page: Page)
| 163 | // swapped-in link only counts once loaded), which made an equality-of-counts |
| 164 | // assertion flaky. |
| 165 | const readShellStylesheetMarker = (page: Page): Promise<string> => |
| 166 | page.evaluate(() => |
| 167 | getComputedStyle(document.documentElement) |
| 168 | .getPropertyValue("--mcp-apps-shell-stylesheet") |
| 169 | .trim(), |
| 170 | ); |
| 171 | |
| 172 | scenario( |
| 173 | "Artifacts · create-artifact hands a non-Apps client a deep link that renders the live component", |