Skip to content

Commit

Permalink
AO3-6645 Fix flaky bookmarks test (#4671)
Browse files Browse the repository at this point in the history
Fix flaky bookmarks test
  • Loading branch information
Bilka2 authored Dec 1, 2023
1 parent 68ed2eb commit fa606f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions features/bookmarks/bookmark_create.feature
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ Scenario: bookmark added to moderated collection has flash notice only when not
Then I should see "The collection Five Pillars is currently moderated."
When I log out
And I am logged in as "moderator" with password "password"
# Delay before approving to make sure the cache is expired
And it is currently 1 second from now
And I approve the first item in the collection "Five Pillars"
And all indexing jobs have been run
And I am logged in as "bookmarker" with password "password"
Expand Down
5 changes: 2 additions & 3 deletions features/bookmarks/bookmark_search.feature
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,8 @@ Feature: Search Bookmarks
And I press "Search Bookmarks"
Then I should see the page title "Search Bookmarks"
And I should see "You searched for: Notes: broken heart, With Notes"
When "AO3-3943" is fixed
# And I should see "1 Found"
# And I should see "fifth"
And I should see "1 Found"
And I should see "fifth"
When I follow "Edit Your Search"
Then the field labeled "Notes" should contain "broken heart"
And the "With notes" checkbox should be checked
Expand Down

0 comments on commit fa606f6

Please sign in to comment.