Skip to content

Commit 0571c32

Browse files
author
Roman Leshchenko
committed
MAGETWO-90468: Added posibility to use captcha on share wishlist page
1 parent 0d7ae65 commit 0571c32

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dev/tests/functional/tests/app/Magento/Captcha/Test/Constraint/AssertCaptchaFieldOnContactUsForm.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
namespace Magento\Captcha\Test\Constraint;
88

9-
use Magento\Contact\Test\Page\ContactIndex;
9+
use Magento\Captcha\Test\Page\ContactIndexCaptcha as ContactIndex;
1010
use Magento\Mtf\Constraint\AbstractConstraint;
1111

1212
/**

dev/tests/functional/tests/app/Magento/Captcha/Test/Page/ContactIndex.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77
-->
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/etc/pages.xsd">
9-
<page name="ContactIndex" mca="contact/index/index" module="Magento_Contact">
9+
<page name="ContactIndexCaptcha" mca="contact/index/index" module="Magento_Captcha">
1010
<block name="contactUs" class="Magento\Captcha\Test\Block\Form\ContactUs" locator="#contact-form" strategy="css selector" />
1111
</page>
1212
</config>

dev/tests/functional/tests/app/Magento/Captcha/Test/TestCase/CaptchaOnContactUsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
use Magento\Captcha\Test\Constraint\AssertCaptchaFieldOnContactUsForm;
1010
use Magento\Contact\Test\Fixture\Comment;
11-
use Magento\Contact\Test\Page\ContactIndex;
11+
use Magento\Captcha\Test\Page\ContactIndexCaptcha as ContactIndex;
1212
use Magento\Mtf\TestCase\Injectable;
1313
use Magento\Mtf\TestStep\TestStepFactory;
1414

0 commit comments

Comments
 (0)