We're updating the issue view to help you get more done. 

Intermittent failures in other_a/reading.feature

Description

One of the test scenarios in features/other_a/reading.feature has two intermittent failures. I'm not sure if they happen more frequently on Travis or Codeship, since they're old and have been commented out for a while – I just wanted to make sure we had an issue.

The failing lines are noted in the scenario.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 Scenario: Multi-chapter works are added to history, can be deleted from history, are updated every time the user accesses a chapter, and can be marked for later Given I am logged in as "writer" And I post the work "multichapter work" And a chapter is added to "multichapter work" Then I should see "multichapter work" When I am logged out And I am logged in as "fandomer" And I view the work "multichapter work" When the reading rake task is run And I go to fandomer's reading page Then I should see "multichapter work" And I should see "Viewed once" When I press "Delete from History" Then I should see "Work successfully deleted from your history." When I view the work "multichapter work" And the reading rake task is run When I go to fandomer's reading page Then I should see "multichapter work" And I should see "Viewed once" When I view the work "multichapter work" And I follow "Next Chapter" And the reading rake task is run When I go to fandomer's reading page Then I should see "multichapter work" When "intermittent failure" is fixed # I should see "Viewed 3 times" When I view the work "multichapter work" And I follow "Next Chapter" When I follow "Mark for Later" Then I should see "This work was added to your Marked for Later list." And I go to fandomer's reading page Then I should see "multichapter work" When "intermittent failure" is fixed # I should see "Viewed 5 times" And I should see "(Marked for Later.)"

What should happen
The scenario should reliably pass.

How to test
No manual testing required.

Environment

Status

Assignee

Tal Hayon

Reporter

Sarken

Roadmap

Reading History

Priority

Medium

Affects versions

0.9.197

Fix versions

Components

AutomatedTests

Difficulty

Medium

Milestone

Internal 0.9