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

Intermittent failure in orphan_work 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
    • Components:
      AutomatedTests

      Description

      On Travis and Codeship, we see intermittent failures on the following scenario in features/other_a/orphan_work.feature:

        Scenario: Orphaning a shared work should not affect chapters created solely by the other creator
      
          Given I am logged in as "keeper"
            And I post the work "Half-Orphaned"
            And I add the co-author "orphaneer" to the work "Half-Orphaned"
            And I post a chapter for the work "Half-Orphaned"
      
          # Verify that the authorship has been set up properly
          Then "orphaneer" should be a co-creator of Chapter 1 of "Half-Orphaned"
            But "orphaneer" should not be a co-creator of Chapter 2 of "Half-Orphaned"
      
          When I am logged in as "orphaneer"
            And I orphan the work "Half-Orphaned"
      
          Then "orphan_account" should be a co-creator of Chapter 1 of "Half-Orphaned"
            But "orphan_account" should not be a co-creator of Chapter 2 of "Half-Orphaned"
      

      The specific line that fails is:

      Then "orphaneer" should be a co-creator of Chapter 1 of "Half-Orphaned"
      

      What should happen
      This test should pass reliably.

      To test
      No manual testing required.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: