Skip to content

Commit 892fc1a

Browse files
author
Your Name
committed
<seeInCurrentUrl> encodes special character which caused test failed
1 parent 537fe57 commit 892fc1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Magento/FunctionalTestingFramework/Module/MagentoWebDriver.php

+1-1
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($needle, urldecode($actualUrl));
344344
}
345345

346346
/**

0 commit comments

Comments
 (0)