We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79f0317 commit 49ca700Copy full SHA for 49ca700
packages/components/src/components/select/select.spec.tsx
@@ -57,7 +57,7 @@ const testAction = () => {
57
);
58
const component = await mount(comp);
59
const select = component.getByRole('combobox');
60
- const selected = await select.selectOption({ label: 'Test1' });
+ const selected = await select.selectOption({ value: 'test1' });
61
expect(selected).toContain(test);
62
});
63
};
0 commit comments