Not able to click on buttons where AngularJS component is passed a disabled property #5147
Labels
AREA: client
FREQUENCY: level 2
STATE: Need clarification
An issue lacks information for further research.
SYSTEM: automations
TYPE: bug
The described behavior is considered as wrong (bug).
Milestone
What is your Test Scenario?
We're using AngularJS (1.x), I'd like to click a button contained inside a wrapping component. The wrapping component contains a
disabled
property which doesn't necessarily mean the component is disabled; it's just passed to other nested components. I'm guessing when TestCafe attempts to click it, thedisabled
property of the AngularJS component stops the event from working.What is the Current behavior?
Clicking on the accordion or any of its contents does nothing. However the component can still be manually toggled.
What is the Expected behavior?
Clicking on the accordion should open it. Interaction of its contents should react accordingly.
What is your web application and your TestCafe test code?
Please clone and run the test here: https://github.com/luujam2/testcafe-angularjs.
Supporting codepen: https://codepen.io/jl00161/pen/rNOXLmZ
Steps to Reproduce:
npm i
npm test
Your Environment details:
The text was updated successfully, but these errors were encountered: