forked from baron/baron-sso
test(e2e): skip coordinate-based WASM tests on mobile
This commit is contained in:
@@ -185,6 +185,7 @@ async function mockAuthApis(page: Page, capture: RequestCapture): Promise<void>
|
|||||||
}
|
}
|
||||||
|
|
||||||
test.describe('UserFront WASM password login and reset', () => {
|
test.describe('UserFront WASM password login and reset', () => {
|
||||||
|
test.skip(({ isMobile }) => isMobile, 'Desktop only (hardcoded coordinates)');
|
||||||
test('비밀번호 로그인 성공 시 dashboard로 이동하고 토큰을 저장한다', async ({ page }) => {
|
test('비밀번호 로그인 성공 시 dashboard로 이동하고 토큰을 저장한다', async ({ page }) => {
|
||||||
const capture: RequestCapture = { clientLogs: [] };
|
const capture: RequestCapture = { clientLogs: [] };
|
||||||
await mockAuthApis(page, capture);
|
await mockAuthApis(page, capture);
|
||||||
|
|||||||
@@ -156,6 +156,8 @@ async function waitForInitialProfileLoad(state: ProfileState): Promise<void> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
test.describe('UserFront WASM profile department editing', () => {
|
test.describe('UserFront WASM profile department editing', () => {
|
||||||
|
test.skip(({ isMobile }) => isMobile, 'Desktop only (hardcoded coordinates)');
|
||||||
|
|
||||||
test.afterEach(async ({ page }) => {
|
test.afterEach(async ({ page }) => {
|
||||||
await page.unroute('**/api/v1/**');
|
await page.unroute('**/api/v1/**');
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user