[MGNLCE-274] Fix super shaky tests Created: 30/Apr/21  Updated: 20/Aug/21  Resolved: 06/May/21

Status: Closed
Project: Community Edition
Component/s: None
Affects Version/s: 6.2.8
Fix Version/s: 6.2.9

Type: Task Priority: Neutral
Reporter: Christoph Meier Assignee: Christoph Meier
Resolution: Fixed Votes: 0
Labels: VN-Testing, shaky-test
Remaining Estimate: Not Specified
Time Spent: 1d 7.75h
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoR:
Empty

 Description   

(Try to) fix some shaky tests which have been failed very regularly when running the integration tests of ce.

Note, that there is some evidence that shakiness went up after changing the Ubuntu versions of the jenkins nodes on AWS, though we could not yet find the solution to improve by adapting the Ubuntu images.

Main changes to hopefully decrease shakyness

Replacing some assertions using

  • assertTrue(pagesApp.hasRow("$string"));
  • expect.renderedPage("page-name").hasText("some-text")}}

with a non-selenium based assertion utilizing MagnoliaHttpClient.

Disabling (Ignore) PageEditorStatusIndicatorUITest#checkStatusIndicatorInvisibleOnPublished

Changes unrelated to test shakyness

Improving some of the Cleanups (not related to failures, just QA)

Raising version of the test-fwk to 1.2-SNAPSHOT


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