[MGNLTEST-38] UI test framework: issue with StaleElementReferenceException Created: 09/Mar/20  Updated: 08/Jul/20  Resolved: 03/Jun/20

Status: Closed
Project: Magnolia Test Framework
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0

Type: Bug Priority: Major
Reporter: Federico Grilli Assignee: Rishab Dhar
Resolution: Fixed Votes: 0
Labels: QA&Testing, hardening-fwk
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Epic Link: core-TF-features-bugs-improvements
Story Points: 3

 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


 Comments   
Comment by Rishab Dhar [ 03/Jun/20 ]
  • Uncommented the disabled tests
  • Added generic API to enable retrying Selenium Actions
Generated at Mon Feb 12 07:44:57 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.