feat: refine deck layout and prefer account2 for Twitter research

This commit is contained in:
2026-09-24 18:23:46 +09:00
parent e82a1187af
commit ceab2e2384
7 changed files with 19 additions and 72 deletions
+6 -11
View File
@@ -189,17 +189,12 @@ test('keeps the deck and editor accessible within narrow viewports', async ({
width: testInfo.project.name === 'desktop' ? 1440 : 393,
height: 900,
})
if (testInfo.project.name === 'desktop') {
await page
.getByRole('navigation', { name: 'カラム一覧' })
.getByRole('button', { name: '公式アカウント' })
.click()
await expect(
page
.getByRole('region', { name: '公式アカウント', exact: true })
.locator('.deck-column-results'),
).toBeFocused()
}
await expect(
page.getByRole('navigation', { name: 'カラム一覧' }),
).toHaveCount(0)
await expect(
page.getByRole('heading', { name: '公式アカウント', exact: true }),
).toBeVisible()
expect((await a11y().analyze()).violations).toEqual([])
await page.screenshot({
path: testInfo.outputPath('deck-populated.png'),