Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🧪 [E2E test] Add Cypress test - Version rejection #931

Open
enikonemeth opened this issue Sep 23, 2020 · 0 comments
Open

🧪 [E2E test] Add Cypress test - Version rejection #931

enikonemeth opened this issue Sep 23, 2020 · 0 comments
Labels

Comments

@enikonemeth
Copy link
Contributor

enikonemeth commented Sep 23, 2020

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 reject a version 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 Tasks (under IT Workspace) in the tree
  5. Right-click on Evaluate
  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 major version

🐾 Steps

  1. Right-click on Evaluate
  2. Select Edit option from dropdown list
  3. Edit the content (e.g.: Change description from
    Evaluate
    TO
    Evaluate test
  4. Click on Submit button
  5. Right-click on Evaluate
  6. Step: Select Versions option from dropdown list
    Expected result: A new version should be visible in the list with the number of: V2.0.P (P means Published)

image

  1. Click Cancel button

Test case 3

🧫 Purpose of the test

To ensure that rejection of a version should change the version to Rejected state

🐾 Steps

  1. Right-click on Evaluate
  2. Select 'Approve or reject' option from dropdown list
  3. Click on Reject button
  4. Type 'test' to Please provide a reason for rejecting the content field
  5. Click on Reject button
  6. Right-click on Evaluate
  7. Step: Select Versions option from dropdown list
    Expected result: The latest version (on top) should be V2.0.R (was V2.0.P before, R means Rejected) and reject reason should be 'test'

image

  1. Click Cancel button
@enikonemeth enikonemeth added test hacktoberfest Newcomers welcome! labels Sep 23, 2020
@herflis herflis changed the title 🧪 [E2E test] Version rejection 🧪 [E2E test] Add Cypress test - Version rejection Oct 7, 2020
@herflis herflis added the cypress label Oct 7, 2020
@herflis herflis removed the hacktoberfest Newcomers welcome! label Nov 2, 2020
@herflis herflis added this to the Sprint 226 milestone Jan 4, 2021
@herflis herflis removed the cypress label Jan 4, 2021
@herflis herflis modified the milestones: Sprint 226, Sprint 227 Jan 7, 2021
@herflis herflis modified the milestones: Sprint 227, Sprint 228 Jan 20, 2021
@herflis herflis modified the milestones: Sprint 228, Sprint 229 Feb 3, 2021
@herflis herflis modified the milestones: Sprint 229, Sprint 230 Feb 17, 2021
@herflis herflis modified the milestones: Sprint 230, Sprint 231 Mar 3, 2021
@herflis herflis modified the milestones: Sprint 231, Sprint 232 Mar 17, 2021
@herflis herflis removed this from the Sprint 232 milestone Mar 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants