Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion app/src/setup/setup.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ describe("setup window", () => {
const host = await open();
expect(screen.getByRole("heading", { name: "Botloft" })).toBeDefined();
expect(screen.getByText(/without asking for an administrator/)).toBeDefined();
expect(host.calls).toContain("show");
// The window is shown in an effect, which may run after the page is found.
await waitFor(() => expect(host.calls).toContain("show"));

fireEvent.click(screen.getByRole("button", { name: "Install" }));
expect(screen.getByRole("progressbar")).toBeDefined();
Expand Down
Loading