fix(app): poster title truly left-aligned — Column crossAxisAlignment start (QR re-centered)
Text 的 textAlign 被 Column 默认 center 吞掉(文本行收缩包裹时对齐不生效); 文字区 Column 改 CrossAxisAlignment.start,二维码+扫码说明显式 Center 回居中。 Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -370,9 +370,7 @@ test.describe.serial('E04 interactions: pause, click lock, keyboard, destroy', (
|
||||
await frame.waitFor();
|
||||
const inside = page.frameLocator('iframe[src*="/embed/"][src*="v=2"]');
|
||||
await page.waitForTimeout(1200);
|
||||
// 聚焦流区域(点击视口非链接处不触发照片点击——顶部渐隐带命中视口)。
|
||||
const box = await frame.boundingBox();
|
||||
await page.mouse.click((box!.x ?? 0) + 90, (box!.y ?? 0) + 6);
|
||||
// 聚焦流区域(程序化聚焦,不点击——照片点击现会打开宿主详情弹框)。
|
||||
await inside.locator('.stream-viewport').focus();
|
||||
await page.keyboard.press(' ');
|
||||
await page.waitForTimeout(300);
|
||||
|
||||
Reference in New Issue
Block a user