8000 frontend tests · coder/coder@dfd49d0 · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit dfd49d0

Browse files
committed
frontend tests
1 parent b115c11 commit dfd49d0

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

site/e2e/setup/addUsersAndLicense.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ test("setup deployment", async ({ page }) => {
1616
}
1717

1818
// Setup first user
19-
await page.getByLabel(Language.usernameLabel).fill(users.admin.username);
2019
await page.getByLabel(Language.emailLabel).fill(users.admin.email);
2120
await page.getByLabel(Language.passwordLabel).fill(users.admin.password);
2221
await page.getByTestId("create").click();

site/src/pages/SetupPage/SetupPage.test.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,15 @@ import { SetupPage } from "./SetupPage";
1313
import { Language as PageViewLanguage } from "./SetupPageView";
1414

1515
const fillForm = async ({
16-
username = "someuser",
1716
email = "someone@coder.com",
1817
password = "password",
1918
}: {
2019
username?: string;
2120
email?: string;
2221
password?: string;
2322
} = {}) => {
24-
const usernameField = screen.getByLabelText(PageViewLanguage.usernameLabel);
2523
const emailField = screen.getByLabelText(PageViewLanguage.emailLabel);
2624
const passwordField = screen.getByLabelText(PageViewLanguage.passwordLabel);
27-
await userEvent.type(usernameField, username);
2825
await userEvent.type(emailField, email);
2926
await userEvent.type(passwordField, password);
3027
const submitButton = screen.getByRole("button", {

0 commit comments

Comments
 (0)
0