Skip to content

Commit 8411368

Browse files
committed
MAGETWO-75412: End-to-end automation: B2C admin
1 parent 2bec7ce commit 8411368

File tree

22 files changed

+49
-88
lines changed

22 files changed

+49
-88
lines changed

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Backend/Section/AdminConfirmationModalSection.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<section name="AdminConfirmationModalSection">
1212
<element name="title" type="text" selector="aside.confirm .modal-title"/>
1313
<element name="message" type="text" selector="aside.confirm .modal-content"/>
14-
<element name="cancel" type="text" selector="aside.confirm .modal-footer button.action-dismiss" timeout="30"/>
15-
<element name="ok" type="text" selector="aside.confirm .modal-footer button.action-accept" timeout="30"/>
14+
<element name="cancel" type="button" selector="aside.confirm .modal-footer button.action-dismiss" timeout="30"/>
15+
<element name="ok" type="button" selector="aside.confirm .modal-footer button.action-accept" timeout="30"/>
1616
</section>
1717
</sections>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Bundle/Test/EndToEndB2CAdminTest.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</after>
1616

1717
<!--Create Bundle Product-->
18-
<amOnPage url="{{AdminProductIndexPage}}" stepKey="visitAdminProductPageBundle" after="viewVirtualProductInGrid"/>
18+
<amOnPage url="{{AdminProductIndexPage}}" stepKey="visitAdminProductPageBundle" after="seeSimpleProductInGrid"/>
1919
<waitForPageLoad stepKey="waitForProductPageLoadBundle" after="visitAdminProductPageBundle"/>
2020
<actionGroup ref="goToCreateProductPage" stepKey="goToCreateBundleProduct" after="waitForProductPageLoadBundle">
2121
<argument name="product" value="BundleProduct"/>
@@ -38,9 +38,7 @@
3838
<fillField selector="{{AdminProductFormBundleSection.firstProductQuantity}}" userInput="{{BundleProduct.defaultQuantity}}" stepKey="fillProductDefaultQty" after="clickAddSelectedBundleProducts"/>
3939
<actionGroup ref="saveProductForm" stepKey="saveBundleProduct" after="fillProductDefaultQty"/>
4040
<actionGroup ref="viewBundleProductInAdminGrid" stepKey="viewBundleProductInGrid" after="saveBundleProduct">
41-
<argument name="product" value="BundleProduct"/>
41+
<argument name="product" value="BundleProduct"/>
4242
</actionGroup>
43-
44-
4543
</test>
4644
</tests>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Bundle/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
},
1313
"require": {
1414
"magento/magento2-functional-testing-framework": "1.0.0",
15+
"magento/magento2-functional-test-module-catalog": "100.0.0-dev",
1516
"php": "7.0.2|7.0.4|~7.0.6|~7.1.0"
1617
},
1718
"suggest": {
1819
"magento/magento2-functional-test-module-backend": "100.0.0-dev",
19-
"magento/magento2-functional-test-module-catalog": "100.0.0-dev",
2020
"magento/magento2-functional-test-module-catalog-inventory": "100.0.0-dev",
2121
"magento/magento2-functional-test-module-catalog-rule": "100.0.0-dev",
2222
"magento/magento2-functional-test-module-checkout": "100.0.0-dev",

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Catalog/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@
1212
},
1313
"require": {
1414
"magento/magento2-functional-testing-framework": "1.0.0",
15+
"magento/magento2-functional-test-module-backend": "100.0.0-dev",
16+
"magento/magento2-functional-test-module-ui": "100.0.0-dev",
1517
"php": "7.0.2|7.0.4|~7.0.6|~7.1.0"
1618
},
1719
"suggest": {
18-
"magento/magento2-functional-test-module-backend": "100.0.0-dev",
1920
"magento/magento2-functional-test-module-catalog-inventory": "100.0.0-dev",
2021
"magento/magento2-functional-test-module-catalog-rule": "100.0.0-dev",
2122
"magento/magento2-functional-test-module-catalog-url-rewrite": "100.0.0-dev",
@@ -34,7 +35,6 @@
3435
"magento/magento2-functional-test-module-store": "100.0.0-dev",
3536
"magento/magento2-functional-test-module-tax": "100.0.0-dev",
3637
"magento/magento2-functional-test-module-theme": "100.0.0-dev",
37-
"magento/magento2-functional-test-module-ui": "100.0.0-dev",
3838
"magento/magento2-functional-test-module-url-rewrite": "100.0.0-dev",
3939
"magento/magento2-functional-test-module-widget": "100.0.0-dev",
4040
"magento/magento2-functional-test-module-wishlist": "100.0.0-dev"

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Checkout/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
},
1313
"require": {
1414
"magento/magento2-functional-testing-framework": "1.0.0",
15+
"magento/magento2-functional-test-module-sales": "100.0.0-dev",
1516
"php": "7.0.2|7.0.4|~7.0.6|~7.1.0"
1617
},
1718
"suggest": {
@@ -26,7 +27,6 @@
2627
"magento/magento2-functional-test-module-page-cache": "100.0.0-dev",
2728
"magento/magento2-functional-test-module-payment": "100.0.0-dev",
2829
"magento/magento2-functional-test-module-quote": "100.0.0-dev",
29-
"magento/magento2-functional-test-module-sales": "100.0.0-dev",
3030
"magento/magento2-functional-test-module-sales-rule": "100.0.0-dev",
3131
"magento/magento2-functional-test-module-shipping": "100.0.0-dev",
3232
"magento/magento2-functional-test-module-store": "100.0.0-dev",

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/ConfigurableProduct/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
},
1313
"require": {
1414
"magento/magento2-functional-testing-framework": "1.0.0",
15+
"magento/magento2-functional-test-module-catalog": "100.0.0-dev",
1516
"php": "7.0.2|7.0.4|~7.0.6|~7.1.0"
1617
},
1718
"suggest": {
1819
"magento/magento2-functional-test-module-backend": "100.0.0-dev",
19-
"magento/magento2-functional-test-module-catalog": "100.0.0-dev",
2020
"magento/magento2-functional-test-module-catalog-inventory": "100.0.0-dev",
2121
"magento/magento2-functional-test-module-checkout": "100.0.0-dev",
2222
"magento/magento2-functional-test-module-customer": "100.0.0-dev",

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Downloadable/Test/EndToEndB2CAdminTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</after>
1616

1717
<!--Create Downloadable Product-->
18-
<amOnPage url="{{AdminProductIndexPage}}" stepKey="visitProductPageDownloadable" after="viewBundleProductInGrid"/>
18+
<amOnPage url="{{AdminProductIndexPage}}" stepKey="visitProductPageDownloadable" after="seeSimpleProductInGrid"/>
1919
<waitForPageLoad stepKey="waitForProductPageLoadDownloadable" after="visitProductPageDownloadable"/>
2020
<actionGroup ref="goToCreateProductPage" stepKey="goToCreateDownloadableProduct" after="waitForProductPageLoadDownloadable">
2121
<argument name="product" value="DownloadableProduct"/>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Downloadable/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
},
1313
"require": {
1414
"magento/magento2-functional-testing-framework": "1.0.0",
15+
"magento/magento2-functional-test-module-catalog": "100.0.0-dev",
1516
"php": "7.0.2|7.0.4|~7.0.6|~7.1.0"
1617
},
1718
"suggest": {
1819
"magento/magento2-functional-test-module-backend": "100.0.0-dev",
19-
"magento/magento2-functional-test-module-catalog": "100.0.0-dev",
2020
"magento/magento2-functional-test-module-catalog-inventory": "100.0.0-dev",
2121
"magento/magento2-functional-test-module-checkout": "100.0.0-dev",
2222
"magento/magento2-functional-test-module-config": "100.0.0-dev",

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/GroupedProduct/Test/EndToEndB2CAdminTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</after>
1616

1717
<!--Create Grouped Product-->
18-
<amOnPage url="{{AdminProductIndexPage}}" stepKey="visitAdminProductPageGrouped" after="viewConfigurableProductInGrid"/>
18+
<amOnPage url="{{AdminProductIndexPage}}" stepKey="visitAdminProductPageGrouped" after="seeSimpleProductInGrid"/>
1919
<waitForPageLoad stepKey="waitForProductPageLoadGrouped" after="visitAdminProductPageGrouped"/>
2020
<actionGroup ref="goToCreateProductPage" stepKey="goToCreateGroupedProduct" after="waitForProductPageLoadGrouped">
2121
<argument name="product" value="GroupedProduct"/>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/GroupedProduct/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
},
1313
"require": {
1414
"magento/magento2-functional-testing-framework": "1.0.0",
15+
"magento/magento2-functional-test-module-catalog": "100.0.0-dev",
1516
"php": "7.0.2|7.0.4|~7.0.6|~7.1.0"
1617
},
1718
"suggest": {
1819
"magento/magento2-functional-test-module-backend": "100.0.0-dev",
19-
"magento/magento2-functional-test-module-catalog": "100.0.0-dev",
2020
"magento/magento2-functional-test-module-catalog-inventory": "100.0.0-dev",
2121
"magento/magento2-functional-test-module-checkout": "100.0.0-dev",
2222
"magento/magento2-functional-test-module-customer": "100.0.0-dev",

0 commit comments

Comments
 (0)