-
Task
-
Resolution: Fixed
-
Neutral
-
None
-
-
Empty show more show less
-
Empty show more show less
-
TE 8, TE 9
-
5
Overview & context
Provide a page object to analyze rendered pages.
It should work on both author and public context.
For the big majority of the tests, it should be sufficient to analyze "only" text on the rendered page.
Hence, let's start with a page object for rendered (content-)pages which focus on text-analyzing functions.
Use cases:
- pages app
- p13n functions
- workflow
- etc.
Required functions
Page exist
Tests whether a page for the give location exists.
Should be able to differentiate whether it is really the requested page or just an error page returned by tomcat.
Example use case:
Given paige opens the Pages app and adds the page /xyz. When she publishes page /xyz. Then page $magnoliaPublic/xyz exists.
has-text
A function to test whether the rendered page contains a given text.
textA-isBefore-textB
A function to test, whether a text-A appears on the page before the text-B.
Acceptance criteria
- is depended upon by
-
MGNLCE-186 UI tests Pages-app core - medium prio
- Closed