We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent475b2bf commit77b230cCopy full SHA for 77b230c
site/src/pages/LoginPage/LoginPage.test.tsx
@@ -98,7 +98,9 @@ describe("LoginPage", () => {
98
render(<LoginPage/>)
99
100
// Then
101
-expect(awaitscreen.queryByText(Language.passwordSignIn)).not.toBeInTheDocument()
+expect(
102
+awaitscreen.queryByText(Language.passwordSignIn),
103
+).not.toBeInTheDocument()
104
awaitscreen.findByText(Language.githubSignIn)
105
})
106
@@ -140,11 +142,13 @@ describe("LoginPage", () => {
140
142
141
143
144
145
146
147
148
149
150
constshowPasswordAuthLink=screen.getByText("Show password login")
-awaituserEvent.click(showPasswordAuthLink);
151
+awaituserEvent.click(showPasswordAuthLink)
152
153
awaitscreen.findByText(Language.passwordSignIn)
154