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 7114687 commit ebbfca0Copy full SHA for ebbfca0
packages/compass-settings/src/components/settings/general.spec.tsx
@@ -60,8 +60,8 @@ describe('GeneralSettings', function () {
60
});
61
62
it('changes defaultSortOrder value when selecting an option', function () {
63
- const select = within(container).getByTestId('defaultSortOrder');
64
- userEvent.selectOptions(select, '_id: 1 (in ascending order by creation)');
+ const select = within(container).getByTestId('defaultSortOrder').click();
+ within(container).getByText('_id: 1').click();
65
expect(getSettings()).to.have.property('defaultSortOrder', '{ _id: 1 }');
66
67
0 commit comments