Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

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

Sign up
Appearance settings

Commit2473a5e

Browse files
committed
frontend tests
1 parentf7bf759 commit2473a5e

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-
awaitpage.getByLabel(Language.usernameLabel).fill(users.admin.username);
2019
awaitpage.getByLabel(Language.emailLabel).fill(users.admin.email);
2120
awaitpage.getByLabel(Language.passwordLabel).fill(users.admin.password);
2221
awaitpage.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{LanguageasPageViewLanguage}from"./SetupPageView";
1414

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp