[MGNLTEST-190] Button#click throws ElementClickInterceptedException Created: 24/Nov/21  Updated: 15/Dec/21  Resolved: 29/Nov/21

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

Type: Bug Priority: Neutral
Reporter: Christoph Meier Assignee: Christoph Meier
Resolution: Fixed Votes: 0
Labels: VN-Testing, artt
Remaining Estimate: Not Specified
Time Spent: 0.5d
Original Estimate: Not Specified

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

 Description   

Button#click throws ElementClickInterceptedException

We had seen failures on clicking buttons some time ago.
Now there was a new case - throwing org.openqa.selenium.ElementClickInterceptedException.
Debugging showed that the correct element was found.

excerpt from the test which failed:

pagesApp.selectRowByPath("/lorem-ipsum")
        .hitAction("Change template");
expect.form("Change template")
        .setComboBoxOption("Template", "Page for FreeMarker testing")
        //.clickButton("Save changes");
        .save();

Both form#save and clickButton("Save changes") failed throwing org.openqa.selenium.ElementClickInterceptedException.



 Comments   
Comment by Christoph Meier [ 25/Nov/21 ]

I was inspired by this http://makeseleniumeasy.com/2020/05/25/elementclickinterceptedexception-element-click-intercepted-not-clickable-at-point-other-element-would-receive-the-click/ 

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