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? |
---|---|---|---|---|---|
Users can preview draft for a public page from Pages admin when they exist | Critical | Manual | No | No | Yes |
Users can preview draft for a content page from page tree when they exist | High | Manual | No | No | Yes |
Users cannot see the preview draft option for a content page when the page has not draft | Critical | Manual | No | No | Yes |
Users can preview draft for a private page from Pages admin when they exist | Medium | Manual | No | No | Yes |
Users can preview draft for a collection page from Pages admin when they exist | Medium | Manual | No | No | Yes |
Users can preview localized draft for a content page | Medium | Manual | No | No | Yes |
Test Cases
Case 1:
Users can preview draft for a public page from Pages admin when they exist
- Enable feature
- Add a new site
- Create a public content page
- Add some content
- Go to Site Building > Pages without Publish
- Can click on the 3 dots
- Click Preview Draft
- Assert Draft Preview is open in a new tab
Case 2:
Users can preview draft for a content page from page tree when they exist
- Enable feature
- Add a new site
- Create a public content page
- Add some content
- Go to Site Building > Pages without Publish
- Open Page Tree
- Assert Page in draft status appear with an asterisk
- Can click on the 3 dots
- Click Preview Draft
- Assert Draft Preview is open in a new tab
Case 3:
Users cannot see the preview draft option for a content page when the page has not draft
- Enable feature
- Add a new site
- Create a public content page
- Go to Home Page without Publish or adding content
- Open Page Tree
- Assert Page appears without an asterisk
- Can click on the 3 dots
- View Draft option does not exist
- Edit created page
- Add some content
- Go to Site Building > Pages without Publish
- Can click on the 3 dots
- Click Discard Draft
- Go to Home Page
- Open Page Tree
- Assert Page appears without an asterisk
- Can click on the 3 dots
- View Draft option does not exist
- Edit created page
- Add some content
- Click publish
- Go to Home Page
- Open Page Tree
- Assert Page appears without an asterisk
- Can click on the 3 dots
- View Draft option does not exist
Case 4:
Users can preview draft for a private page from Pages admin when they exist
- Enable feature
- Add a new site
- Create a private content page
- Add some content
- Go to Site Building > Pages without Publish
- Can click on the 3 dots
- Click Preview Draft
- Assert Draft Preview is open in a new tab
Case 5:
Users can preview draft for a collection page from Pages admin when they exist
- Enable feature
- Add a new site
- Create a collection page
- Go to Site Building > Pages without Publish
- Can click on the 3 dots
- Click Preview Draft
- Assert Draft Preview is open in a new tab
Case 6:
Users can preview localized draft for a content page
- Enable feature
- Change user language to Catalan
- Add a new site
- Create a public content page
- Add some content
- Go to Site Building > Pages without Publish
- Can click on the 3 dots
- Click Preview Draft
- Assert Draft Preview is open in a new tab and it is shown in Catalan