File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Bundle/Test Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!--
3
+ /**
4
+ * Copyright © Magento, Inc. All rights reserved.
5
+ * See COPYING.txt for license details.
6
+ */
7
+ -->
8
+
9
+ <tests 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" >
11
+ <test name =" NewBundleProductSelectionTest" >
12
+ <annotations >
13
+ <features value =" Bundle" />
14
+ <stories value =" Create/Edit bundle product in Admin" />
15
+ <title value =" Admin should be able to select a “Bundle Product” product type when adding a new product" />
16
+ <description value =" Admin should be able to select a “Bundle Product” product type when adding a new product" />
17
+ <severity value =" CRITICAL" />
18
+ <testCaseId value =" MC-220" />
19
+ <group value =" Bundle" />
20
+ </annotations >
21
+ <before >
22
+ <actionGroup ref =" LoginAsAdmin" stepKey =" loginAsAdmin" />
23
+ </before >
24
+ <after >
25
+ <amOnPage url =" {{AdminLogoutPage.url}}" stepKey =" amOnLogoutPage" />
26
+ </after >
27
+ <amOnPage url =" {{AdminCatalogProductPage.url}}" stepKey =" GoToCatalogProductPage" />
28
+ <waitForPageLoad stepKey =" WaitForPageToLoad" />
29
+ <!-- Selecting new bundle product-->
30
+ <actionGroup ref =" goToCreateProductPage" stepKey =" goToCreateBundleProduct" >
31
+ <argument name =" product" value =" BundleProduct" />
32
+ </actionGroup >
33
+ <!-- Testing if on the bundle product creation page-->
34
+ <seeElement selector =" {{AdminProductFormBundleSection.bundleOptionsDropDown}}" stepKey =" CheckForPresenceOfBundleProductFeatures" />
35
+ </test >
36
+ </tests >
You can’t perform that action at this time.
0 commit comments