Skip to content

Commit 5a54f5a

Browse files
committed
MQE-1267: MSI MFTF Test Cases 4
- Adding waitForPageLoad to correct a timing issue. - Adding missing website xml.
1 parent 01d5e3e commit 5a54f5a

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

app/code/Magento/Sales/Test/Mftf/ActionGroup/AdminOrderActionGroup.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@
129129
<argument name="quantity" defaultValue="1" type="string"/>
130130
</arguments>
131131
<click selector="{{AdminOrderFormItemsSection.addProducts}}" stepKey="clickAddProducts"/>
132+
<waitForPageLoad time="30" stepKey="waitForPageLoad1"/>
132133
<fillField selector="{{AdminOrderFormItemsSection.skuFilter}}" userInput="{{product.sku}}" stepKey="fillSkuFilterDownloadable"/>
133134
<click selector="{{AdminOrderFormItemsSection.search}}" stepKey="clickSearchDownloadable"/>
134135
<scrollTo selector="{{AdminOrderFormItemsSection.rowCheck('1')}}" x="0" y="-100" stepKey="scrollToCheckColumn"/>
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
/**
4+
* Copyright © Magento, Inc. All rights reserved.
5+
* See COPYING.txt for license details.
6+
*/
7+
-->
8+
9+
<operations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10+
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/DataGenerator/etc/dataOperation.xsd">
11+
<operation name="CreateWebsite" dataType="website" type="create"
12+
auth="adminFormKey" url="/admin/system_store/save" method="POST" successRegex="/messages-message-success/" returnRegex="">
13+
<object dataType="website" key="website">
14+
<field key="website_id">string</field>
15+
<field key="name">string</field>
16+
<field key="code">string</field>
17+
<field key="sort_order">integer</field>
18+
</object>
19+
<field key="store_action">string</field>
20+
<field key="store_type">string</field>
21+
</operation>
22+
</operations>

0 commit comments

Comments
 (0)