Skip to content

Commit 9889d0f

Browse files
committed
MQE-1421: Updating EndToEnd Tests
- Updating hardcoded schema paths with the URN versions.
1 parent 49128da commit 9889d0f

File tree

60 files changed

+126
-119
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+126
-119
lines changed

app/code/Magento/Backend/Test/Mftf/Page/AdminDashboardPage.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
-->
88

99
<pages xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10-
xsi:noNamespaceSchemaLocation="../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/PageObject.xsd">
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/PageObject.xsd">
1111
<page name="AdminDashboardPage" url="admin/dashboard/" area="admin" module="Magento_Backend">
1212
<section name="AdminMenuSection"/>
1313
</page>

app/code/Magento/Braintree/Test/Mftf/ActionGroup/AdminOrderBraintreeFillActionGroup.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
* See COPYING.txt for license details.
66
*/
77
-->
8-
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9-
xsi:noNamespaceSchemaLocation="../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/actionGroupSchema.xsd">
108

9+
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
1111
<actionGroup name="AdminOrderBraintreeFillActionGroup">
1212
<!--Select Braintree Payment method on Admin Order Create Page-->
1313
<click stepKey="chooseBraintree" selector="{{NewOrderSection.creditCardBraintree}}"/>
@@ -39,4 +39,4 @@
3939
<wait stepKey="waitForFillCVV" time="1"/>
4040
<switchToIFrame stepKey="switchBackFromCVV"/>
4141
</actionGroup>
42-
</actionGroups>
42+
</actionGroups>

app/code/Magento/Braintree/Test/Mftf/ActionGroup/CreateCustomerActionGroup.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
* See COPYING.txt for license details.
66
*/
77
-->
8+
89
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9-
xsi:noNamespaceSchemaLocation="../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/actionGroupSchema.xsd">
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
1011
<actionGroup name="CreateCustomerActionGroup">
1112
<click stepKey="openCustomers" selector="{{AdminMenuSection.customers}}"/>
1213
<waitForAjaxLoad stepKey="waitForCatalogSubmenu" time="5"/>
@@ -39,6 +40,5 @@
3940
<click stepKey="save" selector="{{NewCustomerPageSection.saveCustomer}}"/>
4041
<waitForPageLoad stepKey="waitForCustomersPage" time="10"/>
4142
<waitForElementVisible selector="{{NewCustomerPageSection.createdSuccessMessage}}" stepKey="waitForSuccessfullyCreatedMessage" time="20"/>
42-
4343
</actionGroup>
44-
</actionGroups>
44+
</actionGroups>

app/code/Magento/Braintree/Test/Mftf/ActionGroup/CreateNewOrderActionGroup.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
* See COPYING.txt for license details.
66
*/
77
-->
8-
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9-
xsi:noNamespaceSchemaLocation="../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/actionGroupSchema.xsd">
108

9+
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
1111
<actionGroup name="useBraintreeForMasterCard">
1212
<click stepKey="chooseBraintree" selector="{{NewOrderSection.creditCardBraintree}}"/>
1313
<waitForPageLoad stepKey="waitForBraintreeConfigs" time="5"/>
@@ -36,4 +36,4 @@
3636
<wait stepKey="waitForFillCVV" time="1"/>
3737
<switchToIFrame stepKey="switchBackFromCVV"/>
3838
</actionGroup>
39-
</actionGroups>
39+
</actionGroups>

app/code/Magento/Braintree/Test/Mftf/ActionGroup/CreateNewProductActionGroup.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
* See COPYING.txt for license details.
66
*/
77
-->
8+
89
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9-
xsi:noNamespaceSchemaLocation="../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/actionGroupSchema.xsd">
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
1011
<actionGroup name="CreateNewProductActionGroup">
11-
1212
<click stepKey="openCatalog" selector="{{AdminMenuSection.catalog}}"/>
1313
<waitForPageLoad stepKey="waitForCatalogSubmenu" time="5"/>
1414
<click stepKey="clickOnProducts" selector="{{CatalogSubmenuSection.products}}"/>
@@ -22,4 +22,4 @@
2222
<waitForElementVisible stepKey="waitForSuccessfullyCreatedMessage" selector="{{NewProductPageSection.createdSuccessMessage}}" time="10"/>
2323
<waitForPageLoad stepKey="waitForPageLoad" time="10"/>
2424
</actionGroup>
25-
</actionGroups>
25+
</actionGroups>

app/code/Magento/Braintree/Test/Mftf/ActionGroup/DeleteProductActionGroup.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
* See COPYING.txt for license details.
66
*/
77
-->
8+
89
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9-
xsi:noNamespaceSchemaLocation="../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/actionGroupSchema.xsd">
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
1011
<actionGroup name="DeleteProductActionGroup">
1112
<arguments>
1213
<argument name="productName" defaultValue=""/>
@@ -23,4 +24,4 @@
2324
<click stepKey="clickOnOk" selector="{{ProductsPageSection.ok}}"/>
2425
<waitForElementVisible stepKey="waitForSuccessfullyDeletedMessage" selector="{{ProductsPageSection.deletedSuccessMessage}}" time="10"/>
2526
</actionGroup>
26-
</actionGroups>
27+
</actionGroups>

app/code/Magento/Braintree/Test/Mftf/ActionGroup/SwitchAccountActionGroup.xml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
* See COPYING.txt for license details.
66
*/
77
-->
8-
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9-
xsi:noNamespaceSchemaLocation="../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/actionGroupSchema.xsd">
108

9+
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
1111
<!--Sign out-->
1212
<actionGroup name="SignOut">
1313
<click selector="{{SignOutSection.admin}}" stepKey="clickToAdminProfile"/>
@@ -24,5 +24,4 @@
2424
<fillField userInput="{{NewAdmin.password}}" selector="{{LoginFormSection.password}}" stepKey="fillPassword"/>
2525
<click selector="{{LoginFormSection.signIn}}" stepKey="clickLogin"/>
2626
</actionGroup>
27-
28-
</actionGroups>
27+
</actionGroups>

app/code/Magento/Braintree/Test/Mftf/Data/NewCustomerData.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
-->
88

99
<entities xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10-
xsi:noNamespaceSchemaLocation="../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/DataGenerator/etc/dataProfileSchema.xsd">
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:DataGenerator/etc/dataProfileSchema.xsd">
1111
<entity name="NewCustomerData" type="braintree_config_state">
1212
<data key="FirstName">Abgar</data>
1313
<data key="LastName">Abgaryan</data>
@@ -20,5 +20,4 @@
2020
<data key="PhoneNumber">9999</data>
2121
<data key="Country">Armenia</data>
2222
</entity>
23-
2423
</entities>

app/code/Magento/Braintree/Test/Mftf/Data/NewProductData.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@
77
-->
88

99
<entities xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10-
xsi:noNamespaceSchemaLocation="../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/DataGenerator/etc/dataProfileSchema.xsd">
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:DataGenerator/etc/dataProfileSchema.xsd">
1111
<entity name="NewProductData" type="braintree_config_state">
1212
<data key="ProductName">ProductTest</data>
1313
<data key="Price">100</data>
1414
<data key="Quantity">100</data>
1515
</entity>
16-
1716
</entities>

app/code/Magento/Braintree/Test/Mftf/Section/AdminCreateRoleSection.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
* See COPYING.txt for license details.
66
*/
77
-->
8-
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd">
8+
9+
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
911
<section name="AdminCreateRoleSection">
1012
<element name="create" type="button" selector="#add"/>
1113
<element name="name" type="button" selector="#role_name"/>
@@ -21,4 +23,4 @@
2123
<element name="searchButton" type="button" selector=".admin__data-grid-header button[title=Search]"/>
2224
<element name="searchResultFirstRow" type="text" selector=".data-grid>tbody>tr"/>
2325
</section>
24-
</sections>
26+
</sections>

app/code/Magento/Braintree/Test/Mftf/Section/AdminCreateUserSection.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
* See COPYING.txt for license details.
66
*/
77
-->
8-
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd">
8+
9+
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
911
<section name="AdminCreateUserSection">
1012
<element name="system" type="input" selector="#menu-magento-backend-system"/>
1113
<element name="allUsers" type="input" selector="//span[contains(text(), 'All Users')]"/>
@@ -20,4 +22,4 @@
2022
<element name="userRoleTab" type="button" selector="#page_tabs_roles_section"/>
2123
<element name="saveButton" type="button" selector="#save"/>
2224
</section>
23-
</sections>
25+
</sections>

app/code/Magento/Braintree/Test/Mftf/Section/AdminDeleteRoleSection.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@
55
* See COPYING.txt for license details.
66
*/
77
-->
8-
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd">
8+
9+
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
911
<section name="AdminDeleteRoleSection">
1012
<element name="theRole" selector="//td[contains(text(), 'Role')]" type="button"/>
1113
<element name="current_pass" type="button" selector="#current_password"/>
1214
<element name="delete" selector="//button/span[contains(text(), 'Delete Role')]" type="button"/>
1315
<element name="confirm" selector="//*[@class='action-primary action-accept']" type="button"/>
1416
</section>
15-
</sections>
17+
</sections>

app/code/Magento/Braintree/Test/Mftf/Section/AdminDeleteUserSection.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@
55
* See COPYING.txt for license details.
66
*/
77
-->
8-
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd">
8+
9+
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
911
<section name="AdminDeleteUserSection">
1012
<element name="theUser" selector="//td[contains(text(), 'John')]" type="button"/>
1113
<element name="password" selector="#user_current_password" type="input"/>
1214
<element name="delete" selector="//button/span[contains(text(), 'Delete User')]" type="button"/>
1315
<element name="confirm" selector="//*[@class='action-primary action-accept']" type="button"/>
1416
</section>
15-
</sections>
17+
</sections>

app/code/Magento/Braintree/Test/Mftf/Section/AdminEditRoleInfoSection.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
* See COPYING.txt for license details.
66
*/
77
-->
8-
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd">
8+
9+
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
911
<section name="AdminEditRoleInfoSection">
1012
<element name="roleName" type="input" selector="#role_name"/>
1113
<element name="password" type="input" selector="#current_password"/>
@@ -18,4 +20,4 @@
1820
<element name="cancel" type="button" selector=".modal-popup.confirm button.action-dismiss"/>
1921
<element name="ok" type="button" selector=".modal-popup.confirm button.action-accept" timeout="60"/>
2022
</section>
21-
</sections>
23+
</sections>

app/code/Magento/Braintree/Test/Mftf/Section/AdminEditUserRoleSection.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
* See COPYING.txt for license details.
66
*/
77
-->
8-
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd">
8+
9+
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
911
<section name="AdminEditUserRoleSection">
1012
<element name="usernameTextField" type="input" selector="#user_username"/>
1113
<element name="roleNameFilterTextField" type="input" selector="#permissionsUserRolesGrid_filter_role_name"/>
@@ -14,4 +16,4 @@
1416
<element name="roleNameInFirstRow" type="text" selector=".col-role_name"/>
1517
<element name="searchResultFirstRow" type="text" selector=".data-grid>tbody>tr"/>
1618
</section>
17-
</sections>
19+
</sections>

app/code/Magento/Braintree/Test/Mftf/Section/AdminEditUserSection.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
* See COPYING.txt for license details.
66
*/
77
-->
8-
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd">
8+
9+
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
911
<section name="AdminEditUserSection">
1012
<element name="system" type="input" selector="#menu-magento-backend-system"/>
1113
<element name="allUsers" type="input" selector="//span[contains(text(), 'All Users')]"/>
@@ -25,4 +27,4 @@
2527
<element name="searchResultFirstRow" type="text" selector=".data-grid>tbody>tr"/>
2628
<element name="saveButton" type="button" selector="#save"/>
2729
</section>
28-
</sections>
30+
</sections>

app/code/Magento/Braintree/Test/Mftf/Section/AdminMenuSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
-->
88

99
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10-
xsi:noNamespaceSchemaLocation="../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd">
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
1111
<section name="AdminMenuSection">
1212
<element name="dashboard" type="button" selector="//li[@id='menu-magento-backend-dashboard']"/>
1313
<element name="sales" type="button" selector="//li[@id='menu-magento-sales-sales']"/>

app/code/Magento/Braintree/Test/Mftf/Section/AdminRoleGridSection.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
* See COPYING.txt for license details.
66
*/
77
-->
8-
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd">
8+
9+
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
911
<section name="AdminRoleGridSection">
1012
<element name="idFilterTextField" type="input" selector="#roleGrid_filter_role_id"/>
1113
<element name="roleNameFilterTextField" type="input" selector="#roleGrid_filter_role_name"/>
@@ -14,4 +16,4 @@
1416
<element name="roleNameInFirstRow" type="text" selector=".col-role_name"/>
1517
<element name="searchResultFirstRow" type="text" selector=".data-grid>tbody>tr"/>
1618
</section>
17-
</sections>
19+
</sections>

app/code/Magento/Braintree/Test/Mftf/Section/AdminUserGridSection.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
* See COPYING.txt for license details.
66
*/
77
-->
8-
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd">
8+
9+
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
911
<section name="AdminUserGridSection">
1012
<element name="usernameFilterTextField" type="input" selector="#permissionsUserGrid_filter_username"/>
1113
<element name="searchButton" type="button" selector=".admin__data-grid-header button[title=Search]"/>
@@ -14,4 +16,4 @@
1416
<element name="searchResultFirstRow" type="text" selector=".data-grid>tbody>tr"/>
1517
<element name="successMessage" type="text" selector=".message-success"/>
1618
</section>
17-
</sections>
19+
</sections>

app/code/Magento/Braintree/Test/Mftf/Section/BraintreeConfiguraionSection.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
* See COPYING.txt for license details.
66
*/
77
-->
8-
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd">
8+
9+
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
911
<section name="BraintreeConfiguraionSection">
1012
<element name="titleForBraintreeSettings" type="input" selector="//input[@id='payment_us_braintree_section_braintree_braintree_required_title']"/>
1113
<element name="environment" type="select" selector="//select[@id='payment_us_braintree_section_braintree_braintree_required_environment']"/>
@@ -29,6 +31,5 @@
2931
<element name="actionAuthorize" type="text" selector="//select[@id='payment_us_braintree_section_braintree_braintree_paypal_payment_action']/option[text()='Authorize']"/>
3032
<element name="save" type="button" selector="//span[text()='Save Config']"/>
3133
<element name="successfulMessage" type="text" selector="//*[@data-ui-id='messages-message-success']"/>
32-
3334
</section>
34-
</sections>
35+
</sections>

app/code/Magento/Braintree/Test/Mftf/Section/CatalogSubmenuSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
-->
88

99
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10-
xsi:noNamespaceSchemaLocation="../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd">
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
1111
<section name="CatalogSubmenuSection">
1212
<element name="products" type="button" selector="//li[@id='menu-magento-catalog-catalog']//li[@data-ui-id='menu-magento-catalog-catalog-products']"/>
1313
</section>

app/code/Magento/Braintree/Test/Mftf/Section/ConfigurationListSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
-->
88

99
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10-
xsi:noNamespaceSchemaLocation="../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd">
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
1111
<section name="ConfigurationListSection">
1212
<element name="sales" type="button" selector="//div[contains(@class, 'admin__page-nav-title title _collapsible')]/strong[text()='Sales']"/>
1313
<element name="salesPaymentMethods" type="button" selector="//span[text()='Payment Methods']"/>

app/code/Magento/Braintree/Test/Mftf/Section/ConfigurationPaymentSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
-->
88

99
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10-
xsi:noNamespaceSchemaLocation="../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd">
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
1111
<section name="ConfigurationPaymentSection">
1212
<element name="configureButton" type="button" selector="//button[@id='payment_us_braintree_section_braintree-head']"/>
1313
</section>

0 commit comments

Comments
 (0)