forked from baron/baron-sso
23cd316c23 기준 병합 code-check 오류 수정
This commit is contained in:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user