1
0
forked from baron/baron-sso

23cd316c23 기준 병합 code-check 오류 수정

This commit is contained in:
2026-05-29 18:26:01 +09:00
parent cadb0631fd
commit 86940cce9e
2 changed files with 24 additions and 39 deletions

View File

@@ -115,15 +115,19 @@ async function mockSignupApis(page: Page): Promise<void> {
}
async function enableFlutterAccessibility(page: Page): Promise<void> {
await page.waitForTimeout(300);
const button = page.getByRole('button', { name: 'Enable accessibility' });
if (await button.count()) {
await button.first().click({ force: true }).catch(async () => {
await page.locator('flt-semantics-placeholder').first().evaluate((node) => {
const placeholder = page.locator('flt-semantics-placeholder').first();
await button.click({ force: true, timeout: 1_000 }).catch(async () => {
await placeholder.click({ force: true, timeout: 1_000 }).catch(async () => {
await placeholder.evaluate((node) => {
(node as HTMLElement).click();
});
});
await page.waitForTimeout(400);
}
});
await page.waitForTimeout(400);
}
async function typeIntoField(page: Page, locator: Locator, value: string): Promise<void> {