I have a test that finds the control and clicks it to reset a filter section to default settings.
I've run this test in our pre-production environment and it works fine. When I run this in our production environment (currently the UI code is identical) it finds the control, but the click doesn't work. Nor does it error. Just seems to ignore it and continue to the assert which then fails.
the code is simple
I'm most confused by the fact that this runs in both our pre-prod (identical code) and our dev environments, but fails to click in the prod.
any ideas why this would happen?
I've run this test in our pre-production environment and it works fine. When I run this in our production environment (currently the UI code is identical) it finds the control, but the click doesn't work. Nor does it error. Just seems to ignore it and continue to the assert which then fails.
the code is simple
HtmlControl filterReset =
new
HtmlControl(Find.ByAttributes(
"id=FilterActionBarReset"
));
filterReset.Click();
it is used to find this element
<div class="rightAction" id="FilterActionBarReset" jQuery15206472203044463981="175">
I'm most confused by the fact that this runs in both our pre-prod (identical code) and our dev environments, but fails to click in the prod.
any ideas why this would happen?