Skip to content

Commit 31e913e

Browse files
authored
MQE-699: Exception message for "conditionalClick" failure uses '$selector' instead of '$dependentSelector'
- $selector -> $dependentSelector.
1 parent f00b2ff commit 31e913e

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)