|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 | 2 | <!--
|
3 | 3 | /**
|
4 |
| - * Copyright 2024 Adobe |
| 4 | + * Copyright 2025 Adobe |
5 | 5 | * All Rights Reserved.
|
6 | 6 | */
|
7 | 7 | -->
|
|
22 | 22 | <argument name="priorityOvernightPrice" type="string" defaultValue="$100.37"/>
|
23 | 23 | </arguments>
|
24 | 24 | <waitForPageLoad stepKey="waitForPageLoad2" />
|
25 |
| - <waitForText selector="{{CheckoutShippingMethodsSection.smartPostFedexPrice}}" userInput="{{smartPostPrice}}" stepKey="waitForSmartPostPriceVisible"/> |
26 |
| - <waitForText selector="{{CheckoutShippingMethodsSection.groundFedexPrice}}" userInput="{{groundPrice}}" stepKey="waitForGroundPriceVisible"/> |
27 |
| - <waitForText selector="{{CheckoutShippingMethodsSection.expressSaverFedexPrice}}" userInput="{{expressSaverPrice}}" stepKey="waitForExpressPriceVisible"/> |
28 |
| - <waitForText selector="{{CheckoutShippingMethodsSection.twoDayFedexPrice}}" userInput="{{twoDayPrice}}" stepKey="waitForTwodayPriceVisible"/> |
29 |
| - <waitForText selector="{{CheckoutShippingMethodsSection.twoDayAMFedexPrice}}" userInput="{{twoDayAMPrice}}" stepKey="waitForTwodayAMPriceVisible"/> |
30 |
| - <waitForText selector="{{CheckoutShippingMethodsSection.standardOvernightFedexPrice}}" userInput="{{standardOvernightPrice}}" stepKey="waitForStandardPriceVisible"/> |
31 |
| - <waitForText selector="{{CheckoutShippingMethodsSection.priorityOvernightFedexPrice}}" userInput="{{priorityOvernightPrice}}" stepKey="waitForOvernightPriceVisible"/> |
| 25 | + <waitForElement selector="{{CheckoutShippingMethodsSection.smartPostFedexMethod}}" stepKey="waitForSmartPostFedexMethod"/> |
| 26 | + <grabTextFrom selector="{{CheckoutShippingMethodsSection.smartPostFedexPrice}}" stepKey="smartPostPrice"/> |
| 27 | + <assertRegExp stepKey="waitForSmartPostPriceVisible"> |
| 28 | + <actualResult type="variable">$smartPostPrice</actualResult> |
| 29 | + <expectedResult type="string">\$([0-9]+(\.[0-9]+)?)$</expectedResult> |
| 30 | + </assertRegExp> |
| 31 | + <waitForElement selector="{{CheckoutShippingMethodsSection.groundFedexMethod}}" stepKey="waitForGroundFedexMethod"/> |
| 32 | + <grabTextFrom selector="{{CheckoutShippingMethodsSection.groundFedexPrice}}" stepKey="groundFedexPrice"/> |
| 33 | + <assertRegExp stepKey="waitForGroundPriceVisible"> |
| 34 | + <actualResult type="variable">$groundFedexPrice</actualResult> |
| 35 | + <expectedResult type="string">\$([0-9]+(\.[0-9]+)?)$</expectedResult> |
| 36 | + </assertRegExp> |
| 37 | + <waitForElement selector="{{CheckoutShippingMethodsSection.expressSaverFedexPrice}}" stepKey="waitForExpressSaverFedexMethod"/> |
| 38 | + <grabTextFrom selector="{{CheckoutShippingMethodsSection.expressSaverFedexPrice}}" stepKey="expressSaverFedexPrice"/> |
| 39 | + <assertRegExp stepKey="waitForExpressPriceVisible"> |
| 40 | + <actualResult type="variable">$expressSaverFedexPrice</actualResult> |
| 41 | + <expectedResult type="string">\$([0-9]+(\.[0-9]+)?)$</expectedResult> |
| 42 | + </assertRegExp> |
| 43 | + <waitForElement selector="{{CheckoutShippingMethodsSection.twoDayFedexMethod}}" stepKey="waitForRwoDayFedexMethod"/> |
| 44 | + <grabTextFrom selector="{{CheckoutShippingMethodsSection.twoDayFedexPrice}}" stepKey="twoDayFedexPrice"/> |
| 45 | + <assertRegExp stepKey="waitForTwodayPriceVisible"> |
| 46 | + <actualResult type="variable">$twoDayFedexPrice</actualResult> |
| 47 | + <expectedResult type="string">\$([0-9]+(\.[0-9]+)?)$</expectedResult> |
| 48 | + </assertRegExp> |
| 49 | + <waitForElement selector="{{CheckoutShippingMethodsSection.twoDayAMFedexMethod}}" stepKey="waitForTwoDayAMFedexMethod"/> |
| 50 | + <grabTextFrom selector="{{CheckoutShippingMethodsSection.twoDayAMFedexPrice}}" stepKey="twoDayAMFedexPrice"/> |
| 51 | + <assertRegExp stepKey="waitForTwodayAMPriceVisible"> |
| 52 | + <actualResult type="variable">$twoDayAMFedexPrice</actualResult> |
| 53 | + <expectedResult type="string">\$([0-9]+(\.[0-9]+)?)$</expectedResult> |
| 54 | + </assertRegExp> |
| 55 | + <waitForElement selector="{{CheckoutShippingMethodsSection.standardOvernightFedexMethod}}" stepKey="waitForStandardOvernightFedexMethod"/> |
| 56 | + <grabTextFrom selector="{{CheckoutShippingMethodsSection.standardOvernightFedexPrice}}" stepKey="standardOvernightFedexPrice"/> |
| 57 | + <assertRegExp stepKey="waitForStandardPriceVisible"> |
| 58 | + <actualResult type="variable">$standardOvernightFedexPrice</actualResult> |
| 59 | + <expectedResult type="string">\$([0-9]+(\.[0-9]+)?)$</expectedResult> |
| 60 | + </assertRegExp> |
| 61 | + <waitForElement selector="{{CheckoutShippingMethodsSection.priorityOvernightFedexMethod}}" stepKey="waitForPriorityOvernightFedexMethod"/> |
| 62 | + <grabTextFrom selector="{{CheckoutShippingMethodsSection.priorityOvernightFedexPrice}}" stepKey="priorityOvernightFedexPrice"/> |
| 63 | + <assertRegExp stepKey="waitForOvernightPriceVisible"> |
| 64 | + <actualResult type="variable">$priorityOvernightFedexPrice</actualResult> |
| 65 | + <expectedResult type="string">\$([0-9]+(\.[0-9]+)?)$</expectedResult> |
| 66 | + </assertRegExp> |
32 | 67 | </actionGroup>
|
33 | 68 | </actionGroups>
|
0 commit comments