Skip to content

Commit

Permalink
Merge pull request #8278 from magento-commerce/stability_control
Browse files Browse the repository at this point in the history
[Stability Control] Continuous Build stability improvements
  • Loading branch information
okolesnyk authored May 11, 2023
2 parents 12da28c + cec0a64 commit 21a3692
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@

<actionGroup ref="StorefrontCartPageOpenActionGroup" stepKey="goToCart"/>

<see selector="{{StorefrontBundledSection.nthItemOptionsValue('1')}}" userInput="1 x $$SimpleProduct1.name$$ $10.00" stepKey="seeOptionValue1"/>
<see selector="{{StorefrontBundledSection.nthItemOptionsValue('2')}}" userInput="1 x $$SimpleProduct2.name$$ $15.00" stepKey="seeOptionValue2"/>
<waitForText selector="{{StorefrontBundledSection.nthItemOptionsValue('1')}}" userInput="1 x $$SimpleProduct1.name$$ $10.00" stepKey="seeOptionValue1"/>
<waitForText selector="{{StorefrontBundledSection.nthItemOptionsValue('2')}}" userInput="1 x $$SimpleProduct2.name$$ $15.00" stepKey="seeOptionValue2"/>

<openNewTab stepKey="openNewTab"/>

Expand Down Expand Up @@ -115,12 +115,12 @@
</actionGroup>

<click stepKey="clickEdit" selector="{{CheckoutCartProductSection.nthEditButton('1')}}"/>

<waitForElementClickable selector="{{StorefrontProductInfoMainSection.updateCart}}" stepKey="waitForUpdateCartButtonClickable" />
<click selector="{{StorefrontProductInfoMainSection.updateCart}}" stepKey="clickUpdateCartButton"/>

<waitForElementClickable selector="{{CheckoutCartSummarySection.proceedToCheckout}}" stepKey="waitForProceedToCheckoutClickable" />
<click selector="{{CheckoutCartSummarySection.proceedToCheckout}}" stepKey="clickProceedToCheckout"/>

<see selector="{{CheckoutHeaderSection.shippingMethodStep}}" userInput="Shipping" stepKey="checkShippingHeader"/>
<waitForText selector="{{CheckoutHeaderSection.shippingMethodStep}}" userInput="Shipping" stepKey="checkShippingHeader"/>

</test>
</tests>
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
</before>
<after>
<deleteData stepKey="deleteSimpleSubCategory" createDataKey="categoryEntity"/>
<actionGroup ref="AdminProductCatalogPageOpenActionGroup" stepKey="openProductGridPage" />
<actionGroup ref="AdminDeleteAllProductsFromGridActionGroup" stepKey="deleteProducts" />
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
</after>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@
<click selector="{{payPalConfigType.configureBtn(countryCode)}}" stepKey="clickWPSExpressConfigureBtn"/>
<waitForElementVisible selector="{{payPalConfigType.enableSolution(countryCode)}}" stepKey="waitForWPSExpressEnable"/>
<selectOption selector="{{payPalConfigType.enableSolution(countryCode)}}" userInput="Yes" stepKey="enableWPSExpressSolution"/>
<wait time="2" stepKey="waitForPopupToAppear" />
<seeInPopup userInput="There is already another PayPal solution enabled. Enable this solution instead?" stepKey="seeAlertMessage"/>
<acceptPopup stepKey="acceptEnablePopUp"/>
<waitForElementClickable selector="{{AdminConfigSection.saveButton}}" stepKey="waitForSaveConfigClickable" />
<click selector="{{AdminConfigSection.saveButton}}" stepKey="saveConfig"/>
<waitForPageLoad stepKey="waitForPageLoad2"/>
</actionGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<description value="A popup should show when enabling different paypal solutions when one is already enabled for merchant country France"/>
<severity value="MAJOR"/>
<testCaseId value="MC-16675"/>
<group value="pr_exclude" />
<group value="paypal"/>
</annotations>
<selectOption selector="{{PaymentsConfigSection.merchantCountry}}" userInput="France" stepKey="setMerchantCountry"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<description value="A popup should show when enabling different paypal solutions when one is already enabled for merchant country Italy"/>
<severity value="MAJOR"/>
<testCaseId value="MC-16677"/>
<group value="pr_exclude" />
<group value="paypal"/>
<group value="cloud"/>
</annotations>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<description value="A popup should show when enabling different paypal solutions when one is already enabled for merchant country Japan"/>
<severity value="MAJOR"/>
<testCaseId value="MC-13146"/>
<group value="pr_exclude" />
<group value="paypal"/>
<group value="cloud"/>
</annotations>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<description value="A popup should show when enabling different paypal solutions when one is already enabled for merchant country Spain"/>
<severity value="MAJOR"/>
<testCaseId value="MC-16678"/>
<group value="pr_exclude" />
<group value="paypal"/>
<group value="cloud"/>
</annotations>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<field key="price">100</field>
</createData>
<createData entity="Simple_US_Customer" stepKey="createCustomer"/>
<createData entity="DisableFlatRateShippingMethodConfig" stepKey="disableFlatRate"/>
<magentoCLI command="config:set {{DisableFlatRateConfigData.path}} {{DisableFlatRateConfigData.value}}" stepKey="disableFlatRate"/>
<createData entity="FreeShippinMethodConfig" stepKey="enableFreeShippingMethod"/>
<createData entity="setFreeShippingSubtotal" stepKey="setFreeShippingSubtotal"/>
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
Expand All @@ -34,7 +34,7 @@
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
<deleteData createDataKey="createProduct" stepKey="deleteProduct"/>
<deleteData createDataKey="createCustomer" stepKey="deleteCustomer"/>
<createData entity="FlatRateShippingMethodConfig" stepKey="enableFlatRate"/>
<magentoCLI command="config:set {{EnableFlatRateConfigData.path}} {{EnableFlatRateConfigData.value}}" stepKey="enableFlatRate"/>
<createData entity="FreeShippinMethodDefault" stepKey="disableFreeShippingMethod"/>
<createData entity="setFreeShippingSubtotalToDefault" stepKey="setFreeShippingSubtotalToDefault"/>
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,18 @@
<!--Prerequisites-->
<!--Create store view to ensure multiple store views-->
<comment userInput="Create prerequisite store view" stepKey="createStoreViewComment" before="createStoreView"/>
<actionGroup ref="AdminCreateStoreViewActionGroup" stepKey="createStoreView" before="navigateToNewOrderPage"/>
<actionGroup ref="AdminCreateStoreViewActionGroup" stepKey="createStoreView" before="navigateToNewOrderPage">
<argument name="customStore" value="customStore"/>
</actionGroup>

<!--Admin creates order-->
<comment userInput="Admin creates order" stepKey="adminCreateOrderComment" before="navigateToNewOrderPage"/>
<actionGroup ref="AdminNavigateToNewOrderPageNewCustomerActionGroup" stepKey="navigateToNewOrderPage" after="deleteCategory"/>

<actionGroup ref="CheckRequiredFieldsNewOrderFormActionGroup" stepKey="checkRequiredFieldsNewOrder" after="navigateToNewOrderPage"/>
<actionGroup ref="AdminSelectStoreDuringOrderCreationActionGroup" stepKey="selectCustomStore" after="navigateToNewOrderPage">
<argument name="storeView" value="customStore"/>
</actionGroup>
<actionGroup ref="CheckRequiredFieldsNewOrderFormActionGroup" stepKey="checkRequiredFieldsNewOrder" after="selectCustomStore"/>
<scrollToTopOfPage stepKey="scrollToTopOfOrderFormPage" after="checkRequiredFieldsNewOrder"/>
<actionGroup ref="AddSimpleProductToOrderActionGroup" stepKey="addSimpleProductToOrder" after="scrollToTopOfOrderFormPage">
<argument name="product" value="SimpleProduct"/>
Expand Down
1 change: 1 addition & 0 deletions dev/tests/acceptance/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ tests/functional/Magento/_generated
vendor/*
mftf.log
/.credentials.example
/.credentials
/utils/

0 comments on commit 21a3692

Please sign in to comment.