<?xml version="1.0" encoding="UTF-8"?>
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
    <actionGroup name="TrialSubscriptionsCartActionGroup">
        <annotations>
            <description>Create a cart which includes a virtual and a simple trial subscription.</description>
        </annotations>

        <amOnPage url="{{StorefrontProductPage.url(VirtualTrialMonthlySubscriptionProduct.urlKey)}}" stepKey="goToVirtualTrialMonthlySubscriptionProductPage"/>
        <waitForPageLoad stepKey="waitForVirtualTrialMonthlySubscriptionProductPageToLoad" time="60"/>
        <fillField userInput="2" selector="{{StorefrontProductPageSection.qtyInput}}" stepKey="fillVirtualTrialMonthlySubscriptionProductQty"/>
        <click selector="{{StorefrontProductInfoMainSection.AddToCart}}" stepKey="clickAddToCartVirtualTrialMonthlySubscriptionProduct"/>

        <amOnPage url="{{StorefrontProductPage.url(SimpleTrialMonthlySubscriptionInitialFeeProduct.urlKey)}}" stepKey="goToSimpleTrialMonthlySubscriptionInitialFeeProductPage"/>
        <waitForPageLoad stepKey="waitForSimpleTrialMonthlySubscriptionInitialFeeProductPageToLoad" time="60"/>
        <fillField userInput="2" selector="{{StorefrontProductPageSection.qtyInput}}" stepKey="fillSimpleTrialMonthlySubscriptionInitialFeeProductQty"/>
        <click selector="{{StorefrontProductInfoMainSection.AddToCart}}" stepKey="clickAddToCartSimpleTrialMonthlySubscriptionInitialFeeProduct"/>

    </actionGroup>
</actionGroups>




