test(game-ui): wait for scenario-aware main title

This commit is contained in:
Hide_D committed 2026-08-13 15:40:21 +00:00
1 parent 344490a5ff
commit 8886d6cbe1
1 file changed
+1 -1
+1 -1
View File
@@ -514,7 +514,7 @@ const installRealtimeHarness = async (page: Page) => {
const waitForMain = async (page: Page) => {
await page.goto('./');
await expect(page.getByRole('heading', { name: '전장 현황' })).toBeVisible();
await expect(page.locator('.game-shell__title')).toBeVisible();
await expect(page.locator('.main-global-menu').first()).toBeVisible();
await expect(page.locator('.main-nation-menu')).toBeVisible();
await expect(page.locator('[data-navigation-id="npc-list"]')).toHaveCount(3);