Skip to content

Commit 8e77e2f

Browse files
author
Igor Melnikov
authored
Merge pull request #1982 from magento-obsessive-owls/MAGETWO-70174-data-migration
[Obsessive-Owls] MAGETWO-70174: fix test xml files
2 parents 3e1e1cb + 36d1262 commit 8e77e2f

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Catalog/ActionGroup/NewProductActionGroup.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
*/
77
-->
88

9-
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10-
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/testSchema.xsd">
9+
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10+
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/actionGroupSchema.xsd">
1111
<actionGroup name="createNewSimpleProduct">
1212
<amOnPage url="{{AdminProductIndexPage.url}}" stepKey="navigateToProductIndex"/>
1313
<click selector="{{AdminProductGridActionSection.addProductToggle}}" stepKey="clickAddProductDropdown"/>
@@ -27,4 +27,4 @@
2727
<click selector="{{AdminProductSEOSection.sectionHeader}}" stepKey="openSeoSectionAssert"/>
2828
<seeInField userInput="{{_defaultProduct.urlKey}}" selector="{{AdminProductSEOSection.urlKeyInput}}" stepKey="assertFieldUrlKey"/>
2929
</actionGroup>
30-
</config>
30+
</actionGroups>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Cms/Page/CmsNewBlockPage.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
*/
77
-->
88

9-
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9+
<pages xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/PageObject.xsd">
11-
<page name="CmsNewBlock" url="admin/cms/block/new" module="Magento_Cms">
11+
<page name="CmsNewBlock" url="admin/cms/block/new" area="admin" module="Magento_Cms">
1212
<section name="CmsNewBlockBlockActionsSection"/>
1313
<section name="CmsNewBlockBlockBasicFieldsSection"/>
1414
</page>
15-
</config>
15+
</pages>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Cms/Section/CmsNewBlockBlockActionsSection.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
*/
77
-->
88

9-
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9+
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd">
1111
<section name="CmsNewBlockBlockActionsSection">
1212
<element name="savePage" type="button" selector="#save" timeout="30"/>
1313
</section>
14-
</config>
14+
</sections>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Cms/Section/CmsNewBlockBlockBasicFieldsSection.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
*/
77
-->
88

9-
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9+
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd">
1111
<section name="CmsNewBlockBlockBasicFieldsSection">
1212
<element name="title" type="input" selector="input[name=title]"/>
1313
<element name="identifier" type="input" selector="input[name=identifier]"/>
1414
<element name="wysiwyg_hr_element" type="input" selector="#cms_block_form_content_hr"/>
1515
</section>
16-
</config>
16+
</sections>

0 commit comments

Comments
 (0)