사령부 턴 시각을 UTC+9로 표시

This commit is contained in:
2026-08-30 01:35:32 +00:00
parent 11fca1ed8b
commit 7377aa62ed
2 changed files with 13 additions and 3 deletions
+10 -1
View File
@@ -751,7 +751,7 @@ const chiefCenter = {
officerLevel,
name: officerLevel === 5 ? '장수' : `수뇌${officerLevel}`,
npcState: officerLevel === 8 ? 2 : 0,
turnTime: null,
turnTime: '2026-08-30T01:46:47.590Z',
revision: 0,
turns:
officerLevel === 12
@@ -2799,6 +2799,15 @@ test('physical mobile touch drag selects general and nation turns in advanced mo
}
});
test('renders chief turn rows in the fixed UTC+9 server timezone', async ({ page }) => {
await install(page);
await page.goto('chief-center');
await expect(page.getByRole('heading', { name: '사령부', exact: true })).toBeVisible();
await expect(page.locator('.chief-grid-row').first().locator('.row-time').nth(0)).toHaveText('10:46');
await expect(page.locator('.chief-grid-row').first().locator('.row-time').nth(1)).toHaveText('10:56');
});
test('keeps the shared main and chief shell geometry and interaction states', async ({ page }) => {
const requests = await install(page);
await page.setViewportSize({ width: 1000, height: 900 });