Skip to content

Commit

Permalink
Merge pull request #1982 from magento-obsessive-owls/MAGETWO-70174-da…
Browse files Browse the repository at this point in the history
…ta-migration

[Obsessive-Owls] MAGETWO-70174: fix test xml files
  • Loading branch information
Igor Melnikov authored Jan 23, 2018
2 parents 3e1e1cb + 36d1262 commit 8e77e2f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
*/
-->

<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/testSchema.xsd">
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/actionGroupSchema.xsd">
<actionGroup name="createNewSimpleProduct">
<amOnPage url="{{AdminProductIndexPage.url}}" stepKey="navigateToProductIndex"/>
<click selector="{{AdminProductGridActionSection.addProductToggle}}" stepKey="clickAddProductDropdown"/>
Expand All @@ -27,4 +27,4 @@
<click selector="{{AdminProductSEOSection.sectionHeader}}" stepKey="openSeoSectionAssert"/>
<seeInField userInput="{{_defaultProduct.urlKey}}" selector="{{AdminProductSEOSection.urlKeyInput}}" stepKey="assertFieldUrlKey"/>
</actionGroup>
</config>
</actionGroups>
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
*/
-->

<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<pages xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/PageObject.xsd">
<page name="CmsNewBlock" url="admin/cms/block/new" module="Magento_Cms">
<page name="CmsNewBlock" url="admin/cms/block/new" area="admin" module="Magento_Cms">
<section name="CmsNewBlockBlockActionsSection"/>
<section name="CmsNewBlockBlockBasicFieldsSection"/>
</page>
</config>
</pages>
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
*/
-->

<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd">
<section name="CmsNewBlockBlockActionsSection">
<element name="savePage" type="button" selector="#save" timeout="30"/>
</section>
</config>
</sections>
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
*/
-->

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

0 comments on commit 8e77e2f

Please sign in to comment.