Skip to content

Commit 362b4de

Browse files
committed
Covering the client validation fix by MFTF
1 parent 941e511 commit 362b4de

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

app/code/Magento/GoogleAdwords/Test/Mftf/Section/AdminGoogleAdwordsConfigSection.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
99
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
1010
<section name="AdminGoogleAdwordsConfigSection">
11-
<element name="active" type="text" selector="#google_adwords #google_adwords_active"/>
11+
<element name="active" type="text" selector="#google_adwords_active"/>
12+
<element name="conversionId" type="text" selector="#google_adwords_conversion_id"/>
1213
</section>
1314
</sections>

app/code/Magento/GoogleAdwords/Test/Mftf/Test/AdminValidateConversionIdConfigTest.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,9 @@
3131
<actionGroup ref="AdminToggleEnabledActionGroup" stepKey="enableGoogleAdwordsConfig">
3232
<argument name="element" value="{{AdminGoogleAdwordsConfigSection.active}}"/>
3333
</actionGroup>
34-
35-
36-
3734
<actionGroup ref="AdminClickFormActionButtonActionGroup" stepKey="clickSaveCustomVariable">
3835
<argument name="buttonSelector" value="{{AdminMainActionsSection.save}}"/>
3936
</actionGroup>
40-
41-
4237
<actionGroup ref="AssertAdminValidationErrorActionGroup" stepKey="seeRequiredValidationErrorForConversionId">
4338
<argument name="inputId" value="google_adwords_conversion_id"/>
4439
</actionGroup>

0 commit comments

Comments
 (0)