Skip to content

Commit beec388

Browse files
committed
MQE-1514: Failure For seeCurrentUrlEquals Action Does Not Show Actual & Expected Results in Allure
- bugfix for variable name
1 parent 75b6b88 commit beec388

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
@@ -283,7 +283,7 @@ public function seeCurrentUrlMatches($regex)
283283
$actualUrl = $this->webDriver->getCurrentURL();
284284
$comparison = "Expected: $regex\nActual: $actualUrl";
285285
Allure::lifecycle()->fire(new AddAttachmentEvent($comparison, 'Comparison'));
286-
$this->assertRegExp($regex, $url);
286+
$this->assertRegExp($regex, $actualUrl);
287287
}
288288

289289
/**

0 commit comments

Comments
 (0)