Fix indentation in unrealengine eslint
All checks were successful
build-and-push / lint (push) Successful in 4s
build-and-push / sonar (push) Successful in 12s
build-and-push / docker (push) Successful in 1m11s

This commit is contained in:
nocci 2025-12-30 16:16:29 +00:00
parent 52895fd991
commit bab4359977

View file

@ -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');