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