Verify mobile account readiness with its intentionally hidden link
creative browser diagnosis / diagnose (push) Failing after 3m48s

This commit is contained in:
2026-10-30 23:19:14 +08:00
parent 52df5b8e32
commit efdfb6a2ff
2 changed files with 1 additions and 10 deletions
@@ -110,7 +110,7 @@ export async function verifyCanvasAgentUI(base:string){
await page.setViewportSize({width:390,height:844});
const bounds=await panel.boundingBox();assert.ok(bounds&&bounds.x>=0&&bounds.x+bounds.width<=390,'Agent panel stays within the mobile viewport');
await page.reload({waitUntil:'domcontentloaded'});
await page.getByRole('link',{name:email,exact:true}).waitFor({state:'attached'});
await page.getByRole('link',{name:email,exact:true,includeHidden:true}).waitFor({state:'attached'});
await page.getByRole('button',{name:'Agent',exact:true}).click();
const reopened=page.getByRole('region',{name:'Agent 连接',exact:true});
await reopened.getByRole('combobox',{name:'打开在线画布',exact:true}).selectOption(list.canvases[0].id);
-9
View File
@@ -1,15 +1,6 @@
# Read-only test instrumentation against the already built review images.
services:
tests:
environment:
PLAYWRIGHT_BROWSERS_PATH: /tmp/creative-browsers
command:
- sh
- -ec
- |
node node_modules/playwright-core/cli.js install chromium --no-shell
export CHROMIUM_PATH="$$(node -e "console.log(require('playwright-core').chromium.executablePath())")"
npm run test:integration
volumes:
- ./apps/waterfall-wiki/tests/canvas-ui-integration.ts:/app/tests/canvas-ui-integration.ts:ro
- ./apps/waterfall-wiki/tests/creative-browser-diagnostics.test.ts:/app/tests/integration.test.ts:ro