We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5098611 commit d7b1d6bCopy full SHA for d7b1d6b
1 file changed
src/orders/components/OrderDiscountModal/OrderDiscountModal.stories.tsx
@@ -115,7 +115,7 @@ export const ConvertsValueWhenSwitchingCalculationMode: Story = {
115
const dialog = await findDialog();
116
117
// Switching PERCENTAGE (10%) -> FIXED with maxPrice=250 should compute 25.
118
- await userEvent.click(dialog.getByTestId("FIXED"));
+ await userEvent.click(dialog.getByRole("radio", { name: /fixed amount/i }));
119
await userEvent.click(dialog.getByTestId("submit"));
120
121
await expect(args.onConfirm).toHaveBeenCalledOnce();
0 commit comments