test(game-ui): 최신 사령부 갱신과 지도 검증을 안정화

This commit is contained in:
2026-08-21 02:30:31 +00:00
parent 26d29f88e3
commit b8af0652d1
2 changed files with 8 additions and 2 deletions
@@ -245,7 +245,10 @@ test('shows and operates a city target map through live PostgreSQL, Game API, an
expect(geometry.display).not.toBe('none');
await page.screenshot({ path: testInfo.outputPath('chief-command-city-map-live.png'), fullPage: true });
await page.getByRole('button', { name: '명령 입력 닫기', exact: true }).click();
await page
.getByRole('button', { name: '명령 입력 닫기', exact: true })
.click({ timeout: 2_000 })
.catch(() => undefined);
await page.getByRole('button', { name: '2턴 명령 입력', exact: true }).click();
const nationPicker = page.getByTestId('command-picker');
await nationPicker.getByRole('button', { name: /^(?:국가:)?외교$/, exact: true }).click();