fix: 가오픈 설문의 진행 상태를 논리 시각으로 판정

메인 현황도 투표 경로와 같은 game tick 우선 판정을 사용해 PREOPEN 설문을 숨기지 않는다. 투표 완료 후에는 설문 제목을 유지하고 새 설문 알림만 생략하는 API와 Chromium 회귀를 추가한다.
This commit is contained in:
2026-08-27 06:05:38 +00:00
parent d1950070d0
commit 4ca749f0b0
3 changed files with 109 additions and 9 deletions
@@ -1181,6 +1181,26 @@ test('scopes the new-survey notice cursor to the reset-specific server ID', asyn
await expect(page.locator('.survey-notice')).toContainText('새로운 설문조사가 있습니다.');
});
test('keeps the active survey title after voting without reopening the new-survey notice', async ({ page }) => {
const state: NavigationFixture = {
officerLevel: 5,
permission: 2,
nationLevel: 3,
stage: 0,
npcMode: 1,
serverId: 'che_260827_preopen',
latestVote: { id: 1, title: '신버전입니다.', hasVoted: true },
generalMeCalls: 0,
operations: [],
};
await installFixture(page, state);
await waitForMain(page);
await expect(page.locator('.vote-status')).toHaveText('설문: 신버전입니다.');
await expect(page.locator('.survey-notice')).toHaveCount(0);
});
test('desktop menus preserve ref columns, prefix-safe routes, and controlled dropdown behavior', async ({
page,
}, testInfo) => {