[MGNLTEST-90] Consolidate framework for PagesCoreFunctionalTests Created: 25/Aug/20  Updated: 22/Sep/20  Resolved: 15/Sep/20

Status: Closed
Project: Magnolia Test Framework
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0.2

Type: Task Priority: Neutral
Reporter: Mikaël Geljić Assignee: Mikaël Geljić
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
is caused by MAGNOLIA-7873 LockException when restoring version ... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:
Epic Link: core-TF-features-bugs-improvements
Sprint: TE 9, TE 10, TE 11
Story Points: 5

 Description   

Placeholder for various timing and design issues:

Some symptoms:

  • PCFT#addPage would fail to hit the Add page action
    —hitting actions was recently based off mouse-position clicks; however captured position may be unreliable if a CSS transition is ongoing. 
  • PCFT#editPage would silently fail to select a row, consequently failing on unexpected action availability
    —presumably a vaadin-wait would be in order, tentatively abstracting the mechanism away behind WebDriver|Element interaction.
  • ContentAppTest#publish would fail to assert "not published" status, due to discrepancy in labeling this status between M5 (Not published) vs. M6 (Unpublished), and overlapping presence of both Pages apps, undistinguished, in the test-webapp.

Some design issues:

  • ContentApp holding selectors for two Grid-related locators (activation status, marked-as-deleted indicators)
  • Button usage passing WebElement references around, instead of encapsulating #click


 Comments   
Comment by Michael Duerig [ 26/Aug/20 ]

Also PagesCoreFunctionalTests.restoreVersion failed a number of times recently.

Comment by Michael Duerig [ 31/Aug/20 ]

Disabled the following tests at 7e455cd7 until this is sorted out:

PagesCoreFunctionalTests.addPage
PagesCoreFunctionalTests.restoreVersion 
PagesCoreFunctionalTests.editComponent
PagesCoreFunctionalTests.publishPageIncludeSubPage
PagesCoreFunctionalTests.copyPasteComponentAcrossPageDetails
Comment by Michael Duerig [ 10/Sep/20 ]

PagesCoreFunctionalTests#restoreVersion failures are caused by MAGNOLIA-7873

Comment by Michael Duerig [ 15/Sep/20 ]

mgeljic I resolved this ticket for now. Most you brought up in your PRs made it to master in one way or another and ui tests run much more predictably as a result. Feel free to reopen should there be anything left to do.

Generated at Mon Feb 12 07:45:28 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.