[MGNLTEST-144] RenderedPage can be achieved without HTML title Created: 02/Mar/21 Updated: 15/Dec/21 Resolved: 14/Dec/21 |
|
| Status: | Resolved |
| Project: | Magnolia Test Framework |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.2.5 |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Christoph Meier | Assignee: | Michael Duerig |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 2.5h | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Date of First Response: | |
| Epic Link: | core-TF-features-bugs-improvements |
| Description |
|
Right now, to get an instance of a rendered page, the HTML title must be passed as an argument, and renderedPage#exists only is true, if the webdriver can find the given HTML title. So ... even if the rendered page actually "exists", the PO is not returned, if the rendered page does not contain a HTML title. We should provide a getter on PageObjects to achieve a RenderedPage without HTML title. |
| Comments |
| Comment by Christoph Meier [ 09/Nov/21 ] |
|
mmichel, I must have missed it yesterday when you've closed that one. What was the reason to close it? Meanwhile I think about the use-case - which I had once - which required that improvement. |
| Comment by Maxime Michel [ 09/Nov/21 ] |
|
Closed by mistake |
| Comment by Christoph Meier [ 07/Dec/21 ] |
|
mduerig , Unfortunately, I still cannot remember the use case where we had a page without html-title. Since I also need a new test-template for PagesSpaFunctionalTests - I can create a template without html-title for you. Lemme know |
| Comment by Michael Duerig [ 14/Dec/21 ] |
|
Added RenderedPage#renderedPage() for pages without a title or with an empty title. |