Skip to content

Commit c1a3929

Browse files
committed
MAGETWO-33193: Prepare Pages configuration pull request
1 parent e799c93 commit c1a3929

File tree

14 files changed

+77
-161
lines changed

14 files changed

+77
-161
lines changed

dev/tests/functional/tests/app/Magento/CheckoutAgreements/Test/Page/Adminhtml/CheckoutAgreementIndex.xml

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,10 @@
55
* See COPYING.txt for license details.
66
*/
77
-->
8-
<page mca="checkout/agreement/index" module="Magento_CheckoutAgreements">
9-
<blocks>
10-
<messagesBlock>
11-
<class>Magento\Core\Test\Block\Messages</class>
12-
<locator>#messages</locator>
13-
<strategy>css selector</strategy>
14-
</messagesBlock>
15-
<pageActionsBlock>
16-
<class>Magento\Backend\Test\Block\GridPageActions</class>
17-
<locator>.page-main-actions</locator>
18-
<strategy>css selector</strategy>
19-
</pageActionsBlock>
20-
<agreementGridBlock>
21-
<class>Magento\CheckoutAgreements\Test\Block\Adminhtml\AgreementGrid</class>
22-
<locator>#agreementGrid</locator>
23-
<strategy>css selector</strategy>
24-
</agreementGridBlock>
25-
</blocks>
26-
</page>
8+
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../vendor/magento/mtf/etc/pages.xsd">
9+
<page name="CheckoutAgreementIndex" area="Adminhtml" mca="checkout/agreement/index" module="Magento_CheckoutAgreements">
10+
<block name="messagesBlock" class="Magento\Core\Test\Block\Messages" locator="#messages" strategy="css selector"/>
11+
<block name="pageActionsBlock" class="Magento\Backend\Test\Block\GridPageActions" locator=".page-main-actions" strategy="css selector"/>
12+
<block name="agreementGridBlock" class="Magento\CheckoutAgreements\Test\Block\Adminhtml\AgreementGrid" locator="#agreementGrid" strategy="css selector"/>
13+
</page>
14+
</config>

dev/tests/functional/tests/app/Magento/CheckoutAgreements/Test/Page/Adminhtml/CheckoutAgreementNew.xml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,9 @@
55
* See COPYING.txt for license details.
66
*/
77
-->
8-
<page mca="checkout/agreement/new" module="Magento_CheckoutAgreements">
9-
<blocks>
10-
<pageActionsBlock>
11-
<class>Magento\Backend\Test\Block\FormPageActions</class>
12-
<locator>.page-main-actions</locator>
13-
<strategy>css selector</strategy>
14-
</pageActionsBlock>
15-
<agreementsForm>
16-
<class>Magento\CheckoutAgreements\Test\Block\Adminhtml\Block\Agreement\Edit\AgreementsForm</class>
17-
<locator>#edit_form</locator>
18-
<strategy>css selector</strategy>
19-
</agreementsForm>
20-
</blocks>
21-
</page>
8+
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../vendor/magento/mtf/etc/pages.xsd">
9+
<page name="CheckoutAgreementNew" area="Adminhtml" mca="checkout/agreement/new" module="Magento_CheckoutAgreements">
10+
<block name="pageActionsBlock" class="Magento\Backend\Test\Block\FormPageActions" locator=".page-main-actions" strategy="css selector"/>
11+
<block name="agreementsForm" class="Magento\CheckoutAgreements\Test\Block\Adminhtml\Block\Agreement\Edit\AgreementsForm" locator="#edit_form" strategy="css selector"/>
12+
</page>
13+
</config>

dev/tests/functional/tests/app/Magento/CheckoutAgreements/Test/Page/CheckoutOnepage.xml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,8 @@
55
* See COPYING.txt for license details.
66
*/
77
-->
8-
<page mca="checkout/onepage">
9-
<blocks>
10-
<agreementReview>
11-
<class>Magento\CheckoutAgreements\Test\Block\Onepage\AgreementReview</class>
12-
<locator>#checkout-step-review</locator>
13-
<strategy>css selector</strategy>
14-
</agreementReview>
15-
</blocks>
16-
</page>
8+
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/etc/pages.xsd">
9+
<page name="CheckoutOnepage" mca="checkout/onepage" module="Magento_Checkout">
10+
<block name="agreementReview" class="Magento\CheckoutAgreements\Test\Block\Onepage\AgreementReview" locator="#checkout-step-review" strategy="css selector"/>
11+
</page>
12+
</config>

dev/tests/functional/tests/app/Magento/CheckoutAgreements/Test/Page/MultishippingCheckoutOverview.xml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,8 @@
55
* See COPYING.txt for license details.
66
*/
77
-->
8-
<page mca="multishipping/checkout/overview">
9-
<blocks>
10-
<agreementReview>
11-
<class>\Magento\CheckoutAgreements\Test\Block\Multishipping\MultishippingAgreementReview</class>
12-
<locator>#checkout-agreements</locator>
13-
<strategy>css selector</strategy>
14-
</agreementReview>
15-
</blocks>
16-
</page>
8+
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/etc/pages.xsd">
9+
<page name="MultishippingCheckoutOverview" mca="multishipping/checkout/overview" module="Magento_Checkout">
10+
<block name="agreementReview" class="Magento\CheckoutAgreements\Test\Block\Multishipping\MultishippingAgreementReview" locator="#checkout-agreements" strategy="css selector"/>
11+
</page>
12+
</config>

dev/tests/functional/tests/app/Magento/CurrencySymbol/Test/Page/Adminhtml/SystemCurrencyIndex.xml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,9 @@
55
* See COPYING.txt for license details.
66
*/
77
-->
8-
<page mca="admin/system_currency/index" module="Magento_CurrencySymbol">
9-
<blocks>
10-
<gridPageActions>
11-
<class>Magento\CurrencySymbol\Test\Block\Adminhtml\System\Currency\GridPageActions</class>
12-
<locator>.grid-actions</locator>
13-
<strategy>css selector</strategy>
14-
</gridPageActions>
15-
<mainPageActions>
16-
<class>Magento\CurrencySymbol\Test\Block\Adminhtml\System\Currency\MainPageActions</class>
17-
<locator>.page-main-actions</locator>
18-
<strategy>css selector</strategy>
19-
</mainPageActions>
20-
</blocks>
21-
</page>
8+
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../vendor/magento/mtf/etc/pages.xsd">
9+
<page name="SystemCurrencyIndex" area="Adminhtml" mca="admin/system_currency/index" module="Magento_CurrencySymbol">
10+
<block name="gridPageActions" class="Magento\CurrencySymbol\Test\Block\Adminhtml\System\Currency\GridPageActions" locator=".grid-actions" strategy="css selector"/>
11+
<block name="mainPageActions" class="Magento\CurrencySymbol\Test\Block\Adminhtml\System\Currency\MainPageActions" locator=".page-main-actions" strategy="css selector"/>
12+
</page>
13+
</config>

dev/tests/functional/tests/app/Magento/CurrencySymbol/Test/Page/Adminhtml/SystemCurrencySymbolIndex.xml

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,10 @@
55
* See COPYING.txt for license details.
66
*/
77
-->
8-
<page mca="admin/system_currencysymbol/index" module="Magento_CurrencySymbol">
9-
<blocks>
10-
<messagesBlock>
11-
<class>Magento\Core\Test\Block\Messages</class>
12-
<locator>#messages</locator>
13-
<strategy>css selector</strategy>
14-
</messagesBlock>
15-
<currencySymbolForm>
16-
<class>Magento\CurrencySymbol\Test\Block\Adminhtml\System\CurrencySymbolForm</class>
17-
<locator>#currency-symbols-form</locator>
18-
<strategy>css selector</strategy>
19-
</currencySymbolForm>
20-
<pageActions>
21-
<class>Magento\CurrencySymbol\Test\Block\Adminhtml\System\FormPageActions</class>
22-
<locator>.page-main-actions</locator>
23-
<strategy>css selector</strategy>
24-
</pageActions>
25-
</blocks>
26-
</page>
8+
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../vendor/magento/mtf/etc/pages.xsd">
9+
<page name="SystemCurrencySymbolIndex" area="Adminhtml" mca="admin/system_currencysymbol/index" module="Magento_CurrencySymbol">
10+
<block name="messagesBlock" class="Magento\Core\Test\Block\Messages" locator="#messages" strategy="css selector"/>
11+
<block name="currencySymbolForm" class="Magento\CurrencySymbol\Test\Block\Adminhtml\System\CurrencySymbolForm" locator="#currency-symbols-form" strategy="css selector"/>
12+
<block name="pageActions" class="Magento\CurrencySymbol\Test\Block\Adminhtml\System\FormPageActions" locator=".page-main-actions" strategy="css selector"/>
13+
</page>
14+
</config>

dev/tests/functional/tests/app/Magento/Multishipping/Test/Page/CheckoutCart.xml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,8 @@
55
* See COPYING.txt for license details.
66
*/
77
-->
8-
<page mca="checkout/cart/index">
9-
<blocks>
10-
<multipleAddressCheckoutBlock>
11-
<class>Magento\Multishipping\Test\Block\Checkout\Link</class>
12-
<locator>.action.multicheckout</locator>
13-
<strategy>css selector</strategy>
14-
</multipleAddressCheckoutBlock>
15-
</blocks>
16-
</page>
8+
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/etc/pages.xsd">
9+
<page name="CheckoutCart" mca="checkout/cart/index" module="Magento_Checkout">
10+
<block name="multipleAddressCheckoutBlock" class="Magento\Multishipping\Test\Block\Checkout\Link" locator=".action.multicheckout" strategy="css selector"/>
11+
</page>
12+
</config>

dev/tests/functional/tests/app/Magento/Multishipping/Test/Page/MultishippingCheckoutAddresses.xml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,8 @@
55
* See COPYING.txt for license details.
66
*/
77
-->
8-
<page mca="multishipping/checkout/addresses" module="Magento_Multishipping">
9-
<blocks>
10-
<addressesBlock>
11-
<class>Magento\Multishipping\Test\Block\Checkout\Addresses</class>
12-
<locator>#checkout_multishipping_form</locator>
13-
<strategy>css selector</strategy>
14-
</addressesBlock>
15-
</blocks>
16-
</page>
8+
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/etc/pages.xsd">
9+
<page name="MultishippingCheckoutAddresses" mca="multishipping/checkout/addresses" module="Magento_Multishipping">
10+
<block name="addressesBlock" class="Magento\Multishipping\Test\Block\Checkout\Addresses" locator="#checkout_multishipping_form" strategy="css selector"/>
11+
</page>
12+
</config>

dev/tests/functional/tests/app/Magento/Multishipping/Test/Page/MultishippingCheckoutBilling.xml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,8 @@
55
* See COPYING.txt for license details.
66
*/
77
-->
8-
<page mca="multishipping/checkout/billing" module="Magento_Multishipping">
9-
<blocks>
10-
<billingBlock>
11-
<class>Magento\Multishipping\Test\Block\Checkout\Billing</class>
12-
<locator>#multishipping-billing-form</locator>
13-
<strategy>css selector</strategy>
14-
</billingBlock>
15-
</blocks>
16-
</page>
8+
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/etc/pages.xsd">
9+
<page name="MultishippingCheckoutBilling" mca="multishipping/checkout/billing" module="Magento_Multishipping">
10+
<block name="billingBlock" class="Magento\Multishipping\Test\Block\Checkout\Billing" locator="#multishipping-billing-form" strategy="css selector"/>
11+
</page>
12+
</config>

dev/tests/functional/tests/app/Magento/Multishipping/Test/Page/MultishippingCheckoutOverview.xml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,8 @@
55
* See COPYING.txt for license details.
66
*/
77
-->
8-
<page mca="multishipping/checkout/overview" module="Magento_Multishipping">
9-
<blocks>
10-
<overviewBlock>
11-
<class>Magento\Multishipping\Test\Block\Checkout\Overview</class>
12-
<locator>#review-order-form</locator>
13-
<strategy>css selector</strategy>
14-
</overviewBlock>
15-
</blocks>
16-
</page>
8+
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/mtf/etc/pages.xsd">
9+
<page name="MultishippingCheckoutOverview" mca="multishipping/checkout/overview" module="Magento_Multishipping">
10+
<block name="overviewBlock" class="Magento\Multishipping\Test\Block\Checkout\Overview" locator="#review-order-form" strategy="css selector"/>
11+
</page>
12+
</config>

0 commit comments

Comments
 (0)