Skip to content

Commit

Permalink
remove extra wait
Browse files Browse the repository at this point in the history
  • Loading branch information
oshi97 committed Jun 27, 2022
1 parent d6f5bab commit 376a182
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/acceptance/acceptancesuites/sortoptionssuite.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import { MockedVerticalSearchRequest } from '../fixtures/responses/vertical/sear
import { Selector } from 'testcafe';
import {
browserRefreshPage,
registerIE11NoCacheHook
registerIE11NoCacheHook,
waitForResults
} from '../utils';
import SearchRequestLogger from '../searchrequestlogger';
import { MockedVerticalAutoCompleteRequest } from '../fixtures/responses/vertical/autocomplete';
Expand All @@ -31,9 +32,6 @@ test('selecting a sort option and refreshing maintains that sort selection', asy
await t.click(thirdSortOption);
await browserRefreshPage();

const resultsSelector = await Selector('.yxt-Results');
await resultsSelector.with({ visibilityCheck: true })();

await t.expect(thirdSortOption.checked).ok();
});

Expand Down

0 comments on commit 376a182

Please sign in to comment.