Skip to content

Commit a649766

Browse files
committed
Format
1 parent 0a46057 commit a649766

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

site/e2e/globalSetup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const globalSetup = async (): Promise<void> => {
99
email: constants.email,
1010
username: constants.username,
1111
password: constants.password,
12-
trial: false
12+
trial: false,
1313
})
1414
}
1515

site/e2e/helpers.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,17 @@ export const buttons = {
88
createWorkspace: "Create workspace",
99
submitCreateWorkspace: "Create workspace",
1010
stopWorkspace: "Stop",
11-
startWorkspace: "Start"
11+
startWorkspace: "Start",
1212
}
1313

1414
export const clickButton = async (page: Page, name: string): Promise<void> => {
1515
await page.getByRole("button", { name, exact: true }).click()
1616
}
1717

18-
export const fillInput = async (page: Page, label: string, value: string): Promise<void> => {
18+
export const fillInput = async (
19+
page: Page,
20+
label: string,
21+
value: string,
22+
): Promise<void> => {
1923
await page.fill(`text=${label}`, value)
2024
}

site/e2e/tests/basicFlow.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { test } from "@playwright/test"
22
import { email, password } from "../constants"
33
import { SignInPage } from "../pom"
4-
import { clickButton, buttons, fillInput } from "../helpers";
4+
import { clickButton, buttons, fillInput } from "../helpers"
55

66
test("Basic flow", async ({ baseURL, page }) => {
77
test.slow()

0 commit comments

Comments
 (0)