Skip to content

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy