Uploaded image for project: 'Magnolia Test Framework'
  1. Magnolia Test Framework
  2. MGNLTEST-38

UI test framework: issue with StaleElementReferenceException

    XMLWordPrintable

Details

    Description

      A couple of functional tests, PagesCoreFunctionalTests.addSubPage and PagesCoreFunctionalTests.addComponent revealed an issue with org.openqa.selenium.StaleElementReferenceException. E.g.

      INFO] Running info.magnolia.functionaltests.PagesCoreFunctionalTests
      [ERROR] Tests run: 12, Failures: 0, Errors: 1, Skipped: 1, Time elapsed: 170.658 s <<< FAILURE! - in info.magnolia.functionaltests.PagesCoreFunctionalTests
      [ERROR] addSubPage{PageObjects}  Time elapsed: 10.889 s  <<< ERROR!
      org.openqa.selenium.StaleElementReferenceException: 
      stale element reference: element is not attached to the page document
      ...
      Session ID: bfe924ce73e7cdd247c81a57a26e5ce9
      	at info.magnolia.functionaltests.PagesCoreFunctionalTests.addSubPage(PagesCoreFunctionalTests.java:144)
      

      TODO:

      • Please ping addons team so that they can unignore their marketing automation UI test

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                rdhar Rishab Dhar
                fgrilli Federico Grilli
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD