Skip to content

Commit

Permalink
Improve stability of favorites sorting test. (#3439)
Browse files Browse the repository at this point in the history
  • Loading branch information
demiankatz committed Jun 17, 2024
1 parent 4f0dc5e commit e99d57c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -439,13 +439,13 @@ public function testListSorting(): void
$this->fillInLoginForm($page, 'username2', 'test', false);
$this->submitLoginForm($page, false);
$this->waitForPageLoad($page);
$this->findCssAndSetValue($page, '#sort_options_1', 'year');
$this->findCssAndSetValue($page, '#sort_options_1', 'year', verifyValue: false);
$this->waitForPageLoad($page);
$this->assertFavoriteTitleOrder(
$page,
['Fake Record 1 with multiple relators/', 'Dewey browse test']
);
$this->findCssAndSetValue($page, '#sort_options_1', 'year DESC');
$this->findCssAndSetValue($page, '#sort_options_1', 'year DESC', verifyValue: false);
$this->waitForPageLoad($page);
$this->assertFavoriteTitleOrder(
$page,
Expand Down

0 comments on commit e99d57c

Please sign in to comment.