Skip to content

Commit b85130a

Browse files
committed
MQE-699: Exception message for "conditionalClick" failure uses '$selector' instead of '$dependentSelector'.
- $selector -> $dependentSelector.
1 parent 5fe3796 commit b85130a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Magento/FunctionalTestingFramework/Module/MagentoWebDriver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ public function conditionalClick($selector, $dependentSelector, $visible)
472472
{
473473
$el = $this->_findElements($dependentSelector);
474474
if (sizeof($el) > 1) {
475-
throw new \Exception("more than one element matches selector " . $selector);
475+
throw new \Exception("more than one element matches selector " . $dependentSelector);
476476
}
477477

478478
$clickCondition = null;

0 commit comments

Comments
 (0)