Skip to content

Commit 1233ea6

Browse files
ivy00johnsimeron2433
authored andcommitted
MQE-592: Test Case Audit
- Removing PhantomJS from Tests. - Unskipping the CMS test. - Skipping the Configurable Product test. - Skipping all Sample Tests.
1 parent 9ca715d commit 1233ea6

File tree

11 files changed

+12
-20
lines changed

11 files changed

+12
-20
lines changed

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Backend/Cest/AdminLoginCest.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
<group value="login"/>
2424
<env value="chrome"/>
2525
<env value="firefox"/>
26-
<env value="phantomjs"/>
2726
<env value="headless"/>
2827
</annotations>
2928
<amOnPage url="{{AdminLoginPage.url}}" stepKey="amOnAdminLoginPage"/>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Cms/Cest/AdminCreateCmsPageCest.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
<severity value="CRITICAL"/>
2424
<testCaseId value="MAGETWO-25580"/>
2525
<group value="cms"/>
26-
<group value="skip"/>
2726
<env value="chrome"/>
2827
<env value="firefox"/>
2928
<env value="headless"/>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/ConfigurableProduct/Cest/AdminCreateConfigurableProductCest.xml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,10 @@
2525
<description value="You should be able to create a Configurable Product via the Admin."/>
2626
<severity value="CRITICAL"/>
2727
<testCaseId value="MAGETWO-26041"/>
28-
<group value="configurable"/>
29-
<group value="product"/>
30-
<env value="chrome"/>
28+
<group value="skip"/>
3129
</annotations>
32-
3330
<amOnPage url="{{AdminCategoryPage.url}}" stepKey="amOnCategoryGridPage"/>
34-
<waitForPageLoad stepKey="waitForPageLoad1"/>
31+
<waitForPageLoad time="30" stepKey="waitForPageLoad1"/>
3532

3633
<click selector="{{AdminCategorySidebarActionSection.AddSubcategoryButton}}" stepKey="clickOnAddSubCategory"/>
3734
<fillField selector="{{AdminCategoryBasicFieldSection.CategoryNameInput}}" userInput="{{_defaultCategory.name}}" stepKey="enterCategoryName"/>
@@ -41,7 +38,7 @@
4138
<seeElement selector="{{AdminCategoryMessagesSection.SuccessMessage}}" stepKey="assertSuccessMessage"/>
4239

4340
<amOnPage url="{{AdminProductIndexPage.url}}" stepKey="amOnProductGridPage"/>
44-
<waitForPageLoad stepKey="waitForPageLoad2"/>
41+
<waitForPageLoad time="30" stepKey="waitForPageLoad2"/>
4542
<click selector="{{AdminProductGridActionSection.addProductToggle}}" stepKey="clickOnAddProductToggle"/>
4643
<click selector="{{AdminProductGridActionSection.addConfigurableProduct}}" stepKey="clickOnAddConfigurableProduct"/>
4744
<fillField userInput="{{_defaultProduct.name}}" selector="{{AdminProductFormSection.productName}}" stepKey="fillName"/>
@@ -110,15 +107,15 @@
110107
<see selector="{{AdminProductFormConfigurationsSection.currentVariationsQuantityCells}}" userInput="{{colorProductAttribute.attribute_quantity}}" stepKey="seeQuantityInField"/>
111108

112109
<amOnPage url="/" stepKey="amOnStorefront"/>
113-
<waitForPageLoad stepKey="waitForPageLoad3"/>
110+
<waitForPageLoad time="30" stepKey="waitForPageLoad3"/>
114111

115112
<click userInput="{{_defaultCategory.name}}" stepKey="clickOnCategoryName"/>
116-
<waitForPageLoad stepKey="waitForPageLoad4"/>
113+
<waitForPageLoad time="30" stepKey="waitForPageLoad4"/>
117114

118115
<see userInput="{{_defaultProduct.name}}" stepKey="assertProductPresent"/>
119116
<see userInput="{{colorProductAttribute1.price}}" stepKey="assertProductPricePresent"/>
120117
<click userInput="{{_defaultProduct.name}}" stepKey="clickOnProductName"/>
121-
<waitForPageLoad stepKey="waitForPageLoad5"/>
118+
<waitForPageLoad time="30" stepKey="waitForPageLoad5"/>
122119

123120
<seeInTitle userInput="{{_defaultProduct.name}}" stepKey="assertProductNameTitle"/>
124121
<see userInput="{{_defaultProduct.name}}" selector="{{StorefrontProductInfoMainSection.productName}}" stepKey="assertProductName"/>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Customer/Cest/StorefrontPersistedCustomerLoginCest.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
<group value="customer"/>
2929
<env value="chrome"/>
3030
<env value="firefox"/>
31-
<env value="phantomjs"/>
3231
<env value="headless"/>
3332
</annotations>
3433
<amOnPage stepKey="amOnSignInPage" url="{{StorefrontCustomerSignInPage.url}}"/>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/SampleTests/Cest/CreateConfigurableProductByApiCest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<annotations>
1313
<features value="Create a Configurable Product By API"/>
1414
<stories value="Create a Configurable Product By API"/>
15+
<group value="skip"/>
1516
</annotations>
1617
<before>
1718
<createData stepKey="categoryHandle" entity="SimpleSubCategory" />

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/SampleTests/Cest/CreateSalesRuleByApiCest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<annotations>
1313
<features value="Create a Sales Rule By API"/>
1414
<stories value="Create a Sales Rule By API"/>
15+
<group value="skip"/>
1516
</annotations>
1617
<before>
1718
<createData stepKey="saleRule" entity="SimpleSalesRule" />

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/SampleTests/Cest/MinimumTestCest.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
<group value="example"/>
2424
<env value="chrome"/>
2525
<env value="firefox"/>
26-
<env value="phantomjs"/>
2726
<env value="headless"/>
2827
</annotations>
2928
<amOnPage url="{{AdminLoginPage.url}}" stepKey="navigateToAdmin"/>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/SampleTests/Cest/SetPaymentConfigurationCest.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/testSchema.xsd">
1111
<cest name="SetPaymentConfigurationCest">
12+
<annotations>
13+
<group value="skip"/>
14+
</annotations>
1215
<test name="SetPaypalConfigurationTest">
1316
<createData entity="SamplePaypalConfig" stepKey="createSamplePaypalConfig"/>
1417
<createData entity="DefaultPayPalConfig" stepKey="restoreDefaultPaypalConfig"/>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/SampleTests/Cest/UpdateSimpleProductByApiCest.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,7 @@
1111
<annotations>
1212
<features value="Update simple product by api test."/>
1313
<stories value="Update simple product by api test."/>
14-
<group value="example"/>
15-
<env value="chrome"/>
16-
<env value="firefox"/>
17-
<env value="phantomjs"/>
18-
<env value="headless"/>
14+
<group value="skip"/>
1915
</annotations>
2016
<before>
2117
<createData stepKey="categoryHandle" entity="SimpleSubCategory"/>

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Store/Cest/AdminCreateStoreGroupCest.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
<stories value="Create a store group in admin"/>
1414
<env value="chrome"/>
1515
<env value="firefox"/>
16-
<env value="phantomjs"/>
1716
<group value="store"/>
1817
</annotations>
1918
<before>

0 commit comments

Comments
 (0)