Skip to content

Commit ec25ce9

Browse files
committed
Extend timeout
1 parent 8fca7c7 commit ec25ce9

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

packages/react-couchdb-authentication/src/components/Authentication.e2e.test.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,12 @@ describe("<Authentication /> with CouchDB instance", () => {
9999
// Submit the form
100100
fireEvent.click(signUpButton);
101101

102-
await waitFor(() => {
103-
expect(screen.getByText("Authenticated")).toBeInTheDocument();
104-
});
102+
await waitFor(
103+
() => {
104+
expect(screen.getByText("Authenticated")).toBeInTheDocument();
105+
},
106+
{ timeout: 5000 }
107+
);
105108

106109
expect(screen.getByText("Hello " + username)).toBeInTheDocument();
107110

0 commit comments

Comments
 (0)