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 - Set a permission local only #867

Closed
enikonemeth opened this issue Sep 10, 2020 · 0 comments
Closed

🧪 [E2E test] Add Cypress test - Set a permission local only #867

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

Comments

@enikonemeth
Copy link
Contributor

enikonemeth commented Sep 10, 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 editing local only feature works as it is intended.

image

😎 Role

All test should run as admin.

Test case 1

🧫 Purpose of the test

To ensure that sending new permissons with localOnly flag creates a new permsission entry

🐾 Steps

  1. Login with admin role
  2. Click on Content menu item
  3. Right click on "IT Workspace" in the tree
  4. Click 'Set permissions' dropdown item
  5. Click on Visitors item from the 'Set on this content' list
  6. Turn the switcher of Grant full access to enabled and then to disabled

grant_Full_disabled

  1. Turn the See permission to enabled on the Read tab
  2. Turn the Local only switcer to enabled

image

  1. Step: Click Submit button
    Expected result: The Visitors entry should be in the Set on this content twice. One has an icon with a tooltip of Local only

image

Test case 2

🧫 Purpose of the test

To ensure that reverting localOnly permission settings removes the localonly entry from the list

🐾 Steps

  1. Click on the Visitors entry which has the local only icon
  2. Turn the See permission to disabled on the Read tab
  3. Step: Click Submit button
    Expected result: The Visitors entry should be in the 'Set on this content' only once without the local only icon
@enikonemeth enikonemeth added test hacktoberfest Newcomers welcome! labels Sep 10, 2020
@herflis herflis changed the title 🧪 [E2E test] Set a permission local only 🧪 [E2E test] Add Cypress test - Set a permission local only Oct 7, 2020
@herflis herflis added cypress help wanted Extra attention is needed labels 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 help wanted Extra attention is needed cypress labels 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
@herflis herflis closed this as completed Jun 16, 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