From 3f1d9bd98552982f1fbf2fc5b8005ce9c6fc102c Mon Sep 17 00:00:00 2001 From: Nick Boldt Date: Thu, 16 May 2024 09:53:50 -0300 Subject: [PATCH] chore(prettier): reformat code to make prettier happy Signed-off-by: Nick Boldt --- e2e-tests/playwright/utils/Common.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/e2e-tests/playwright/utils/Common.ts b/e2e-tests/playwright/utils/Common.ts index 6d194c3f8..956f50041 100644 --- a/e2e-tests/playwright/utils/Common.ts +++ b/e2e-tests/playwright/utils/Common.ts @@ -84,7 +84,9 @@ export class Common { lastError = error; if (attempt < retries - 1) { console.log( - `Attempt ${attempt + 1} failed, retrying after ${retryInterval}ms...`, + `Attempt ${ + attempt + 1 + } failed, retrying after ${retryInterval}ms...`, ); await new Promise(resolve => setTimeout(resolve, retryInterval)); } else { @@ -166,7 +168,9 @@ export class Common { export async function setupBrowser(browser: Browser, testInfo: TestInfo) { const context = await browser.newContext({ recordVideo: { - dir: `test-results/${path.parse(testInfo.file).name.replace('.spec', '')}`, + dir: `test-results/${path + .parse(testInfo.file) + .name.replace('.spec', '')}`, size: { width: 1280, height: 720 }, }, });