otwcode / Otwarchive / Docs / Works
Edit Works Dates
In order to have an archive full of works As an author I want to edit existing works
Scenario: Editing dates on a work
- When "
AO3-2539" is fixed
Scenario: Users cannot backdate a work back to the future
- Given it is currently 1/1/2019
- And I am logged in as a random user
- And I post the work "
Beauty and the Beast 2077" - When I edit the work "
Beauty and the Beast 2077" - And I check "
Set a different publication date" - And I select "
December" from "work_chapter_attributes_published_at_2i" - And I press "
Update" - Then I should see "
Sorry! We couldn't save this work because: Publication date can't be in the future."
Source: features/works/work_dates_edit.feature at commit f09caa86, Otwarchive (GPL license).