Uploaded image for project: 'Archive of Our Own'
  1. AO3-5080

Yet another intermittent test failure in other_a/orphan_series.feature

    Details

    • Type: Bug
    • Status: Deployed
    • Priority: Medium
    • Resolution: DeployedToBeta
    • Affects Version/s: 0.9.197
    • Fix Version/s: 0.9.198
    • Milestone:
      Internal 0.9
    • Difficulty:
      Medium
    • Roadmap:
      Orphaning, Series, Work
    • Components:
      AutomatedTests

      Description

      On Codeship and Travis, the following scenario in other_a/orphan_series.feature sometimes fails:

        Scenario: Orphaning one but not all of the works in a series should make the series co-created by orphan_account
      
          Given I add the work "Work to be Rued" to the series "My Biggest Mistakes"
            And I add the work "Work to be Kept" to the series "My Biggest Mistakes"
      
          When I orphan the work "Work to be Rued"
      
          Then "orphaneer" should be a co-creator of the series "My Biggest Mistakes"
            And "orphan_account" should be a co-creator of the series "My Biggest Mistakes"
      

      The failure is:

      expected #has_no_content?("orphaneer") to return true, got false (RSpec::Expectations::ExpectationNotMetError)
        ./features/step_definitions/web_steps.rb:194:in `block (2 levels) in <top (required)>'
        ./features/step_definitions/web_steps.rb:14:in `with_scope'
        ./features/step_definitions/web_steps.rb:192:in `/^(?:|I )should not see "([^"]*)"(?: within "([^"]*)")?$/'
        features/other_a/orphan_series.feature:51:in `And I should not see "orphaneer"'
      

      What should happen
      The test should consistently pass

      How to test
      No manual testing required

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                sarken sarken
                Reporter:
                sarken sarken
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: