fix(game-ui): iPhone Safari 확인 조작을 안정화

This commit is contained in:
2026-08-28 12:25:57 +00:00
parent b45fe5ba39
commit ddbfa0afa9
11 changed files with 233 additions and 68 deletions
+9
View File
@@ -0,0 +1,9 @@
import { expect, type Page } from '@playwright/test';
export const acceptAppConfirmation = async (page: Page, message: string): Promise<void> => {
const dialog = page.getByTestId('game-notice-dialog');
await expect(dialog).toBeVisible();
await expect(dialog).toContainText(message);
await dialog.getByRole('button', { name: '확인', exact: true }).click();
await expect(dialog).toBeHidden();
};