Skip to content

Commit

Permalink
chore(prettier): reformat code to make prettier happy (#1264)
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Boldt <nboldt@redhat.com>
  • Loading branch information
nickboldt committed May 16, 2024
1 parent 9676d2e commit 905d9c9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions e2e-tests/playwright/utils/Common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 },
},
});
Expand Down

0 comments on commit 905d9c9

Please sign in to comment.