-
Task
-
Resolution: Merged
-
Should have
-
None
-
None
-
5
-
Block: Articles, Testing
-
iocaste
Summary
Write a Playwright test for the Articles block.
Requirements
- Add the test inside tests/e2e/ folder.
- Use the editor to create content (not the API).
Test Steps
- Login and navigate to Admin panel
- Navigate to Pages -> Add new
- Add an Articles block
- Add Title and Description (eg. "All Articles" and "All articles in date order")
- Change button text (eg. "Load")
- Change Articles count to 4
- Publish the page
- Switch to its frontend url
- Test Title, Description and Button text are matching the ones set before
- Test we have 4 items being displayed