Skip to content

Commit 4db4779

Browse files
authored
Merge pull request #124 from magento-gl/MQE-1766
<seeInCurrentUrl> encodes special character which caused test failed
2 parents 057d55c + 6f4f32c commit 4db4779

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
@@ -340,7 +340,7 @@ public function seeInCurrentUrl($needle)
340340
$actualUrl = $this->webDriver->getCurrentURL();
341341
$comparison = "Expected: $needle\nActual: $actualUrl";
342342
AllureHelper::addAttachmentToCurrentStep($comparison, 'Comparison');
343-
$this->assertStringContainsString($needle, $actualUrl);
343+
$this->assertStringContainsString(urldecode($needle), urldecode($actualUrl));
344344
}
345345

346346
/**

0 commit comments

Comments
 (0)