Skip to content

Commit

Permalink
[web] Update ProductPage test
Browse files Browse the repository at this point in the history
For waiting a bit to find the expected content
  • Loading branch information
dgdavid committed Nov 15, 2023
1 parent f158b56 commit e091e89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/components/product/ProductPage.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ describe("when the services are busy", () => {
installerRender(<ProductPage />);

const selectButton = await screen.findByRole("button", { name: "Change product" });
const registerButton = screen.getByRole("button", { name: "Register" });
const registerButton = await screen.findByRole("button", { name: "Register" });

expect(selectButton).toHaveAttribute("disabled");
expect(registerButton).toHaveAttribute("disabled");
Expand Down

0 comments on commit e091e89

Please sign in to comment.