Adapt EE ui tests to use the new dockerized test infrastructure (MGNLEE-515)

[MGNLEE-522] Fix WorkflowUITest Created: 08/Dec/17  Updated: 09/Feb/18  Resolved: 09/Feb/18

Status: Closed
Project: Magnolia DX Core
Component/s: None
Affects Version/s: None
Fix Version/s: 5.6.2

Type: Sub-task Priority: Neutral
Reporter: Michael Mühlebach Assignee: Michael Mühlebach
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Sprint: Basel 132, Basel 133, Basel 134

 Description   

The following test case fails with dockerization:

  • WorkflowUITest#publishDeletionMultipleItemsWithWorkflow

Additionally there is still a workaround in the AbstractMagnoliaEEUITest class for the dialog open and close condition. This should be removed and adapted correctly.
The root cause is that the correct conditions include the modal-overlay css class. This css class applies not only to the dialog but to the notification as well. This causes an issue in the context of the "publish with comment" dialog where an notification is displayed immediately afterwards and the tests think the dialog is never closed ... with causes most WorkflowUITests cases to fail.

To fix the tests:

  • checkout branch feature/MGNLEE-515-ui-test-dockeization
  • Fix the tests and validate them locally with mvn verify -Pui-tests -DseleniumBrowser=chrome
  • Commit the fix on top of the branch
  • Validate the changes on jenkins (you probably have to trigger the build manually)

Generated at Mon Feb 12 05:30:49 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.