AO3-5082 Intermittent test failure when removing self as co-author of series or work #2973

Merged
merged 3 commits into from Oct 6, 2017

Conversation

Projects
None yet
2 participants
Owner

sarken commented Jul 25, 2017

Issue

https://otwarchive.atlassian.net/browse/AO3-5082

Purpose

Adds a 1-second delay to tests for removing yourself as the co-author of a work or series, since the byline cache needs time to update. Comment out the test for removing yourself as the co-author of a series, since it turns out that's an actual bug. Refactor slightly to use the pretty step definition for checking the author(s) displayed on a work or series page.

Testing

No manual testing required, but keep an eye on Codeship and Travis to make sure this has improved the situation and we see fewer failures in other_b/series.feature and works/work_edit.feature.

sarken added some commits Jul 25, 2017

AO3-5082 Add 1-second delay to a test to allow the cached byline on a…
… series time to update when removing an author
AO3-5082 Add 1-second delay to a test to allow the cached byline on a…
… work time to update when removing an author

@sarken sarken closed this Jul 25, 2017

AO3-5082 Turns out the series co-author removal failure was a bug, so…
… I have deferred the test with the issue number (AO3-5083)

@sarken sarken reopened this Jul 25, 2017

These test changes look good, reference is made to AO3-5083 so we know to come back to it ...some day...

@sarken sarken merged commit 46195a9 into otwcode:master Oct 6, 2017

3 checks passed

Scrutinizer No new issues
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
hound No violations found. Woof!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment