Uploaded image for project: 'Community Edition'
  1. Community Edition
  2. MGNLCE-274

Fix super shaky tests

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Neutral
    • 6.2.9
    • 6.2.8
    • None

    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

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                cmeier Christoph Meier
                cmeier Christoph Meier
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoR

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - Not Specified
                      Not Specified
                      Logged:
                      Time Spent - 1d 7.75h
                      1d 7.75h