From 5bf3ef3222a0c82add2194d4067ae12efeb5edad Mon Sep 17 00:00:00 2001 From: chan Date: Wed, 1 Apr 2026 13:34:23 +0900 Subject: [PATCH] test(e2e): skip coordinate-based WASM tests on mobile --- userfront-e2e/tests/password-and-reset.spec.ts | 1 + userfront-e2e/tests/profile-department.spec.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/userfront-e2e/tests/password-and-reset.spec.ts b/userfront-e2e/tests/password-and-reset.spec.ts index c1876f3a..93664d83 100644 --- a/userfront-e2e/tests/password-and-reset.spec.ts +++ b/userfront-e2e/tests/password-and-reset.spec.ts @@ -185,6 +185,7 @@ async function mockAuthApis(page: Page, capture: RequestCapture): Promise } test.describe('UserFront WASM password login and reset', () => { + test.skip(({ isMobile }) => isMobile, 'Desktop only (hardcoded coordinates)'); test('비밀번호 로그인 성공 시 dashboard로 이동하고 토큰을 저장한다', async ({ page }) => { const capture: RequestCapture = { clientLogs: [] }; await mockAuthApis(page, capture); diff --git a/userfront-e2e/tests/profile-department.spec.ts b/userfront-e2e/tests/profile-department.spec.ts index e22db24d..c0e2439d 100644 --- a/userfront-e2e/tests/profile-department.spec.ts +++ b/userfront-e2e/tests/profile-department.spec.ts @@ -156,6 +156,8 @@ async function waitForInitialProfileLoad(state: ProfileState): Promise { } test.describe('UserFront WASM profile department editing', () => { + test.skip(({ isMobile }) => isMobile, 'Desktop only (hardcoded coordinates)'); + test.afterEach(async ({ page }) => { await page.unroute('**/api/v1/**'); });