Details
-
Technical Testing
-
Status: Closed
-
Minor
-
Resolution: Completed
-
None
-
None
Description
Test Scenarios
Test Scenarios | Test Strategy | Kind of test | Is it covered by FrontEnd ? (JS-Unit) | Is it covered by BackEnd ? (unit or integration) | Could it be covered by POSHI? |
---|---|---|---|---|---|
As a page viewer with only page view permissions, the draft actions are not visible to me | HIGH | Manual | No | No | Yes |
As a page creator with page update permissions, the draft actions are visible to me on staging site. | HIGH | Manual | No | No | Yes |
As a page viewer with only page view permissions, the draft actions are not visible to me on staging site. | HIGH | Manual | No | No | Yes |
Test Cases
Case 2:
As a page viewer with only page view permissions, the draft actions are not visible to me
- Sign in as Admin user
- Add a New Site
- Add a Content page
- Add a Button fragment to the page and publish
- Edit the content page
- Add a heading fragment to the page (do not publish the page)
- Go to Page Tree
- Add a new User
- Add a new Role with page view permissions
- Assign the user to the new role
- Sign out and sign in the new user
- Go to Page Tree
- Under Public Pages click on the kebab menu
- View the Preview Draft button is not visible
- Go to Pages admin
- View the content page is as Draft
- Click on the kebab menu
- View the Preview Draft and Discard Draft button are not visible
- Click on View
- View just the button fragment is shown
Case 3:
As a page creator with page update permissions, the draft actions are visible to me on staging site.
- Sign in as Admin user
- Add a New Site
- Enable staging
- Add a Content page
- Add a Button fragment to the page and publish
- Edit the content page
- Add a heading fragment to the page (do not publish the page)
- Go to Page Tree
- Under Public Pages click on the kebab menu
- View the Preview Draft button is visible
- Go to Pages admin -> click on the kebab menu
- View the Preview Draft and Discard Draft button are visible
- Add a new User
- Add a new Role with pages update permissions
- Assign the user to the new role
- Sign out and sign in the new user
- Go to Page Tree
- Under Public Pages click on the kebab menu
- View the Preview Draft button is visible
- Go to Pages admin and click on the kebab menu
- View the Preview Draft and Discard Draft button is visible
- Click on Preview Draft
- View the button and heading fragment are shown at the preview
- Go back to Pages admin -> kebab menu -> Click on Discard Draft
- Open the page at edit mode
- View just the button fragment is shown
Case 4:
As a page viewer with only page view permissions, the draft actions are not visible to me on staging site.
- Sign in as Admin user
- Add a New Site
- Enable staging
- Add a Content page
- Add a Button fragment to the page and publish
- Edit the content page
- Add a heading fragment to the page (do not publish the page)
- Go to Page Tree
- Add a new User
- Add a new Role with page view permissions
- Assign the user to the new role
- Sign out and sign in the new user
- Go to Page Tree
- Under Public Pages click on the kebab menu
- View the Preview Draft button is not visible
- Go to Pages admin
- View the content page is as Draft
- Click on the kebab menu
- View the Preview Draft and Discard Draft buttons are not visible
- Click on View
- View just the button fragment is shown