File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
app/code/Magento/Braintree/Test/Mftf/ActionGroup Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 6
6
*/
7
7
-->
8
8
<actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
- xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/testSchema .xsd" >
9
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema .xsd" >
10
10
<actionGroup name =" StorefrontFillCartDataActionGroup" >
11
11
<arguments >
12
12
<argument name =" cartData" defaultValue =" PaymentAndShippingInfo" />
13
13
</arguments >
14
14
<switchToIFrame selector =" {{BraintreeConfigurationPaymentSection.cartFrame}}" stepKey =" switchToIframe" />
15
+ <waitForElementVisible selector =" {{BraintreeConfigurationPaymentSection.cartCode}}" stepKey =" waitCartCodeElement" />
15
16
<fillField selector =" {{BraintreeConfigurationPaymentSection.cartCode}}" userInput =" {{cartData.cardNumber}}" stepKey =" setCartCode" />
16
17
<switchToIFrame stepKey =" switchBack" />
17
18
<switchToIFrame selector =" {{BraintreeConfigurationPaymentSection.monthFrame}}" stepKey =" switchToIframe1" />
19
+ <waitForElementVisible selector =" {{BraintreeConfigurationPaymentSection.month}}" stepKey =" waitMonthElement" />
18
20
<fillField selector =" {{BraintreeConfigurationPaymentSection.month}}" userInput =" {{cartData.month}}" stepKey =" setMonth" />
19
21
<switchToIFrame stepKey =" switchBack1" />
20
22
<switchToIFrame selector =" {{BraintreeConfigurationPaymentSection.yearFrame}}" stepKey =" switchToIframe2" />
23
+ <waitForElementVisible selector =" {{BraintreeConfigurationPaymentSection.year}}" stepKey =" waitYearElement" />
21
24
<fillField selector =" {{BraintreeConfigurationPaymentSection.year}}" userInput =" {{cartData.year}}" stepKey =" setYear" />
22
25
<switchToIFrame stepKey =" switchBack2" />
23
26
<switchToIFrame selector =" {{BraintreeConfigurationPaymentSection.codeFrame}}" stepKey =" switchToIframe3" />
27
+ <waitForElementVisible selector =" {{BraintreeConfigurationPaymentSection.verificationNumber}}" stepKey =" waitVerificationNumber" />
24
28
<fillField selector =" {{BraintreeConfigurationPaymentSection.verificationNumber}}" userInput =" {{cartData.cvv}}" stepKey =" setVerificationNumber" />
25
29
<switchToIFrame stepKey =" SwitchBackToWindow" />
26
-
27
30
</actionGroup >
28
31
29
32
</actionGroups >
You can’t perform that action at this time.
0 commit comments