Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
poulch committed Dec 21, 2023
1 parent ee5e349 commit 2d3df5a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/discounts/components/DiscountRules/DiscountRules.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,9 @@ describe("DiscountRules", () => {
await userEvent.click(screen.getAllByTestId("select-option")[0]);
});

await userEvent.click(
screen.getByRole("button", { name: /add condition/i }),
);
await userEvent.click(await screen.findByTestId(/rule-type/i));
await userEvent.click(screen.getAllByTestId("select-option")[0]);

Expand Down

0 comments on commit 2d3df5a

Please sign in to comment.