[MGNLCE-109] Decontaminate MagnoliaShellUITest#allShellAppsCanBeStartedAndClosed Created: 08/Dec/17  Updated: 11/Dec/17

Status: Open
Project: Community Edition
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Michael Mühlebach Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
supersession
supersedes MGNLCE-85 Introduce new selenium test setup wit... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty

 Description   

Cause

The root cause of the instability is unclear. The test goes through all apps and opens & closes them. At sometimes it breaks after the first few apps (not always the same). Looking at the screenshot or video it seems to be some kind of race condition. One possible cause could be that either the open or close conditions are not sufficiently strict.

To resolve this issue you could do the following steps

  • create specific branch
  • Try out locally:
    • start test setup with mvn verify -Pmanual-tests -DseleniumBrowser=chrome
    • connect screen sharing to localhost:5901
    • start the ui test in the IDE with the following vm options: -DcontainerRootURL=http://server:8080/ -DdirectContainerRootURL=http://localhost:8599/ -DseleniumBrowser=chrome
  • Fix issue and commit changes
  • Try out full build locally with mvn clean install -Pui-tests -DseleniumBrowser=chrome
  • Push the branch
  • Duplicate the jenkins job magnolia-bundle_trunk-with-selenium and configure instead of master your branch
  • If build is successful on jenkins (ideally multiple times) create PR and integrate the changes

Generated at Mon Feb 12 00:06:22 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.