sn-client icon indicating copy to clipboard operation
sn-client copied to clipboard

๐Ÿงช [E2E test] Add Cypress test - Versioning with Major and minor versioning mode

Open enikonemeth opened this issue 5 years ago โ€ข 0 comments

Before you start working on an issue please take a look at our dedicated hacktoberfest site to learn the basic rules and find additional resources to help you get started.

๐ŸงชE2E test cases

The scope of these tests is to ensure that versioning works as it is intended.

image

๐Ÿ˜Ž Role

All test should run as admin.

Test case 1

๐Ÿงซ Purpose of the test

To ensure that content has only one major version

๐Ÿพ Steps

  1. Login with admin role
  2. Click on Content menu item
  3. Click on IT Workspace in the tree
  4. Click on Memos (under IT Workspace) in the tree
  5. Right-click on Attaching cover sheets to TPS reports
  6. Step: Select Versions from the dropdown Expected result: Only V1.0.A version should be in the list

image

  1. Click Cancel button

Test case 2

๐Ÿงซ Purpose of the test

To ensure that any changes on a file creates new minor version

๐Ÿพ Steps

  1. Right-click on Attaching cover sheets to TPS reports
  2. Select Edit option from dropdown list
  3. Edit the content (e.g.: Change body from This is to remind the division that, starting today, we are now filing all Testing Procedure Specification (TPS) reports with new cover sheets. TO This is a reminder for the division starting today, we are now filing all Testing Procedure Specification (TPS) reports with new cover sheets.
  4. Click on Submit button
  5. Right-click on Attaching cover sheets to TPS reports
  6. Step: Select Versions option from dropdown list Expected result: A new version should be visible in the list with the number of: V1.2.D (D means draft)

image

  1. Click Cancel button

Test case 3

๐Ÿงซ Purpose of the test

To ensure that any changes on a file creates new version with

๐Ÿพ Steps

  1. Right-click on Attaching cover sheets to TPS reports
  2. Select Edit option from dropdown list
  3. Edit the content (e.g.: Change body from This is a reminder for the division starting today, we are now filing all Testing Procedure Specification (TPS) reports with new cover sheets. TO This is to remind the division that, starting today, we are now filing all Testing Procedure Specification (TPS) reports with new cover sheets.
  4. Click on Submit button
  5. Right-click on Attaching cover sheets to TPS reports
  6. Step: Select Versions option from dropdown list Expected result: A new version should be visible in the list with the number of: V1.1.D (D means draft)

image

  1. Click Cancel button

Test case 4

๐Ÿงซ Purpose of the test

To ensure version restore work properly

๐Ÿพ Steps

  1. Click on the restore icon in the row of V1.0.A version

image

  1. Step: Click restore button in the dialog Expected result: A new version should be in the list: V1.2.D

image

  1. Click Cancel button
  2. Right-click on Annual Company Picnic in the grid
  3. Select Publish from the dropdown
  4. Right-click on Annual Company Picnic in the grid
  5. Step: Select Versions from the dropdown Expected result: The first item (it was V1.2.D) should be V2.0.A

image

  1. Click Cancel button

enikonemeth avatar Sep 23 '20 12:09 enikonemeth