-
Task
-
Resolution: Merged
-
Must have
-
None
-
None
-
5
-
Pages, Testing
-
Sprint #142
-
janus
Summary
Write a Playwright test to make sure password protected pages are not publicly displayed.
Requirements
- Add the test inside tests/e2e/ folder.
- Use the editor to create content (not the API).
Test steps
- Login to the Admin panel
- Navigate to Pages > Add New
- Add a Page title (eg. _"Private Page")
- On the sidebar change the visibility to Password protected and set a password
- Add a paragraph block with dummy text
- Publish the page
- Logout
- Navigate to the page frontend url
- Test that Page title and text are not displayed
- Password protection message should be displayed: "To see the content of this page, please enter your password below"
- Submit the password
- Test that title and text are displayed
- has to be done after
-
PLANET-5286 Password protected content
- CLOSED