Skip to content

Commit 2ee48e4

Browse files
committed
MC-40197: [JetTeam] Unskip AddressStateFieldForUKCustomerRemainOptionAfterRefreshTest
1 parent e5d814f commit 2ee48e4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Checkout/Test/Mftf/Section/CheckoutShippingSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@
4545
<element name="addressFieldValidationError" type="text" selector="div.address div.field .field-error"/>
4646
<element name="textFieldAttrRequireMessage" type="text" selector="//input[@name='custom_attributes[{{attribute}}]']/ancestor::div[contains(@class, 'control')]/div/span" parameterized="true" timeout="30"/>
4747
<element name="textFieldAttribute" type="input" selector="[name*='custom_attributes[{{attribute}}]']" parameterized="true" timeout="30"/>
48-
<element name="shippingAddressRequiredField" type="text" selector="//*[@id='shipping-new-address-form']//div[contains(@class, 'field _required') and contains(@name, '{{attribute}}')]" parameterized="true" timeout="30"/>
48+
<element name="shippingAddressRequiredField" type="text" selector="//div[@id='shipping-new-address-form']//div[contains(@class, 'field _required') and contains(@name, 'shippingAddress.{{fieldName}}')]" parameterized="true" timeout="30"/>
4949
</section>
5050
</sections>

app/code/Magento/Checkout/Test/Mftf/Test/StorefrontAddressStateFieldForUKCustomerRemainOptionAfterRefreshTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@
4747
<!-- Assert Entered details should be retained and State/Province field should be displayed as an optional field (without * ) -->
4848
<seeOptionIsSelected selector="{{CheckoutShippingSection.country}}" userInput="{{UK_Address.country}}" stepKey="selectedCountryIsUnitedKingdom"/>
4949
<seeInField selector="{{CheckoutShippingSection.street}}" userInput="{{UK_Address.street[0]}}" stepKey="seeAddressStreetUnitedKingdom"/>
50-
<dontSeeElement selector="{{CheckoutShippingSection.shippingAddressRequiredField('shippingAddress.region_id')}}" stepKey="assertStateProvinceIsNotRequired"/>
50+
<dontSeeElement selector="{{CheckoutShippingSection.shippingAddressRequiredField('region_id')}}" stepKey="assertStateProvinceIsNotRequired"/>
5151
</test>
5252
</tests>

0 commit comments

Comments
 (0)