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

Commit73fc790

Browse files
committed
🤯
1 parenta8ad515 commit73fc790

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎site/src/components/SettingsAccountForm/SettingsAccountForm.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ describe("AccountForm", () => {
3030
// Then
3131
constel=awaitscreen.findByLabelText("Username")
3232
expect(el).toBeEnabled()
33-
constbtn=awaitscreen.findByRole("button")
33+
constbtn=awaitscreen.findByRole("button",{name:/Updatesettings/i})
3434
expect(btn).toBeEnabled()
3535
})
3636
})
@@ -58,7 +58,7 @@ describe("AccountForm", () => {
5858
// Then
5959
constel=awaitscreen.findByLabelText("Username")
6060
expect(el).toBeDisabled()
61-
constbtn=awaitscreen.findByRole("button")
61+
constbtn=awaitscreen.findByRole("button",{name:/Updatesettings/i})
6262
expect(btn).toBeDisabled()
6363
})
6464
})

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp