Fix indentation in unrealengine eslint
This commit is contained in:
parent
52895fd991
commit
bab4359977
1 changed files with 9 additions and 9 deletions
|
|
@ -142,15 +142,15 @@ try {
|
||||||
await page.locator('button.checkout').click();
|
await page.locator('button.checkout').click();
|
||||||
console.log('Click checkout');
|
console.log('Click checkout');
|
||||||
// maybe: Accept End User License Agreement
|
// maybe: Accept End User License Agreement
|
||||||
void (async () => {
|
void (async () => {
|
||||||
try {
|
try {
|
||||||
await page.locator('[name=accept-label]').check({ timeout: 10000 });
|
await page.locator('[name=accept-label]').check({ timeout: 10000 });
|
||||||
console.log('Accept End User License Agreement');
|
console.log('Accept End User License Agreement');
|
||||||
await page.locator('span:text-is("Accept")').click(); // otherwise matches 'Accept All Cookies'
|
await page.locator('span:text-is("Accept")').click(); // otherwise matches 'Accept All Cookies'
|
||||||
} catch {
|
} catch {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
await page.waitForSelector('#webPurchaseContainer iframe');
|
await page.waitForSelector('#webPurchaseContainer iframe');
|
||||||
const iframe = page.frameLocator('#webPurchaseContainer iframe');
|
const iframe = page.frameLocator('#webPurchaseContainer iframe');
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue