From efdfb6a2ff394ad891cea7d51a904b92bf4a5c50 Mon Sep 17 00:00:00 2001 From: Codex Bot Date: Fri, 30 Oct 2026 23:19:14 +0800 Subject: [PATCH] Verify mobile account readiness with its intentionally hidden link --- apps/waterfall-wiki/tests/canvas-ui-integration.ts | 2 +- compose.creative-diagnostics.yml | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/apps/waterfall-wiki/tests/canvas-ui-integration.ts b/apps/waterfall-wiki/tests/canvas-ui-integration.ts index ac393ca..be3ac34 100644 --- a/apps/waterfall-wiki/tests/canvas-ui-integration.ts +++ b/apps/waterfall-wiki/tests/canvas-ui-integration.ts @@ -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); diff --git a/compose.creative-diagnostics.yml b/compose.creative-diagnostics.yml index c8b930b..572b3bf 100644 --- a/compose.creative-diagnostics.yml +++ b/compose.creative-diagnostics.yml @@ -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