-
Type: Task
-
Status: Resolved
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: WEBUI-0.9.0
-
Component/s: Web UI
-
Epic Link:
-
Tags:
-
Sprint:nxGang Sprint 9.1.1, nxGang Sprint 9.1.3, nxGang Sprint 9.1.4
-
Story Points:3
Create the following tests:
Feature: Versioning Version is well displayed and managed on document view Background: Given I login as “Member User” and a Document with Read/Write permission Scenario: New version popup Given the document is unversioned When I click on 'create version' button Then pop-up appear And options 0.1 and 1.0 are presented And there is a 'cancel' and 'create version' buttons Scenario Outline: Create new version Given I have an <init version> document When I click on 'create version' button And choose <version> version And click 'create version' button Then Popup should close And Document version is <version> Examples: |version | init version | |0.1 | unversioned | |1.0 | unversioned | |0.2 | v0.1+ | |1.0 | v0.1+ | Scenario: Check in version Given I have a v1.0 Document When I edit metadata Then Document version is v1.0+ Scenario: List versions Given I have a multi-versioned Document When I press Document version Then a drop-down lists all Document version Scenario: View versions Given I have a multi-versioned When I should a version from versions Then that version is presented And a top message indicates the version being viewed Scenario: Restore version Given I am viewing version 0.1 of multi-versioned (1.0 as latest) Document When I click 'Restore 0.1' And click confirm Then version 0.1 is restored and version displays 1.0+
Also add any relevant test missing from the above.