Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MFTF: Add missing tests annotations #26391

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/code/Magento/Backend/Test/Mftf/Test/AdminLoginTest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@
<seeInCurrentUrl url="{{AdminLoginPage.url}}" stepKey="seeAdminLoginUrl"/>
<actionGroup ref="logout" stepKey="logoutFromAdmin"/>
</test>
</tests>
</tests>
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
<test name="AdminCardinalCommerceSettingsHiddenTest">
<annotations>
<stories value="Cardinal Commerce Settings"/>
<features value="CardinalCommerce"/>
<title value="CardinalCommerce settings hidden" />
<description value="CardinalCommerce config shouldn't be visible if the 3D secure is disabled for Authorize.Net."/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
-->

<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
<test name="ProductAttributeWithoutValueInCompareListTest">
<annotations>
<features value="Catalog"/>
<stories value="Product Comparison"/>
<title value="Product attribute without value in compare list test"/>
<description
value="The product attribute that has no value should output 'N/A' on the product comparison page."/>
<description value="The product attribute that has no value should output 'N/A' on the product comparison page."/>
<severity value="MINOR"/>
<group value="Catalog"/>
</annotations>
Expand All @@ -22,7 +22,7 @@
<createData entity="textProductAttribute" stepKey="createProductAttribute"/>
<createData entity="CatalogAttributeSet" stepKey="createAttributeSet"/>
<amOnPage url="{{AdminProductAttributeSetEditPage.url}}/$$createAttributeSet.attribute_set_id$$/"
stepKey="onAttributeSetEdit"/>
stepKey="onAttributeSetEdit"/>
<actionGroup ref="AssignAttributeToGroupActionGroup" stepKey="assignAttributeToGroup">
<argument name="group" value="Product Details"/>
<argument name="attribute" value="$$createProductAttribute.attribute_code$$"/>
Expand Down Expand Up @@ -69,11 +69,11 @@
</actionGroup>
<!--See attribute default value in the comparison list-->
<see userInput="$createProductAttribute.defaultValue$"
selector="{{StorefrontProductCompareMainSection.ProductAttributeByCodeAndProductName(ProductAttributeFrontendLabel.label, $createProductCustom.name$)}}"
stepKey="assertAttributeValueForProductCustom"/>
selector="{{StorefrontProductCompareMainSection.ProductAttributeByCodeAndProductName(ProductAttributeFrontendLabel.label, $createProductCustom.name$)}}"
stepKey="assertAttributeValueForProductCustom"/>
<!--See N/A if attribute has no value in the comparison list-->
<see userInput="N/A"
selector="{{StorefrontProductCompareMainSection.ProductAttributeByCodeAndProductName(ProductAttributeFrontendLabel.label, $createProductDefault.name$)}}"
stepKey="assertNAForProductDefault"/>
selector="{{StorefrontProductCompareMainSection.ProductAttributeByCodeAndProductName(ProductAttributeFrontendLabel.label, $createProductDefault.name$)}}"
stepKey="assertNAForProductDefault"/>
</test>
</tests>
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
<test name="StorefrontCategoryAccessibleWhenSuffixIsNullTest">
<annotations>
<stories value="Url rewrites"/>
<title value="Storefront category is accessible when url suffix is set to null test"/>
<description value="Check no crash occurs on Category page when catalog/seo/category_url_suffix is set to null"/>
<features value="CatalogUrlRewrite"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<test name="AdminCMSPageCreateDisabledPageTest">
<annotations>
<features value="Cms"/>
<stories value="Create a CMS Page via the Admin"/>
<title value="Create disabled CMS Page via the Admin"/>
<description value="Admin should be able to create a CMS Page"/>
<severity value="CRITICAL"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<test name="AdminCMSPageCreatePageForDefaultStoreTest">
<annotations>
<features value="Cms"/>
<stories value="Create a CMS Page via the Admin"/>
<title value="Create CMS Page via the Admin for default store"/>
<description value="Admin should be able to create a CMS Page"/>
<severity value="CRITICAL"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<test name="AdminCMSPageCreatePageInSingleStoreModeTest">
<annotations>
<features value="Cms"/>
<stories value="Create a CMS Page via the Admin"/>
<title value="Create CMS Page via the Admin in single store mode"/>
<description value="Admin should be able to create a CMS Page"/>
<severity value="CRITICAL"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
*/
-->
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
<test name="AdminCMSPageCreatePageTest">
<annotations>
<features value="Cms"/>
<stories value="Create a CMS Page via the Admin"/>
<title value="Create CMS Page via the Admin"/>
<description value="Admin should be able to create a CMS Page"/>
<severity value="CRITICAL"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<test name="AdminCMSPageCreatePageWithBlockTest">
<annotations>
<features value="Cms"/>
<stories value="Create a CMS Page via the Admin"/>
<title value="Create CMS Page that contains block content via the Admin"/>
<description value="Admin should be able to create a CMS Page"/>
<severity value="CRITICAL"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<test name="NoErrorForMiniCartItemEditTest">
<annotations>
<features value="ConfigurableProduct"/>
<stories value="Storefront Minicart Update"/>
<title value="No error for minicart item edit test"/>
<description value="Already selected configurable option should be selected when configurable product is edited from minicart"/>
<severity value="MAJOR"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
*/
-->
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
<test name="AdminScheduledImportSettingsHiddenTest">
<annotations>
<features value="Directory"/>
<title value="Scheduled import settings hidden" />
<title value="Scheduled import settings hidden"/>
<stories value="Fields visibility according to 'Enable' value"/>
<description value="Scheduled Import Settings' should hide fields when 'Enabled' is 'No'"/>
<severity value="MINOR"/>
</annotations>
Expand All @@ -24,7 +25,7 @@
<magentoCLI command="config:set currency/import/enabled 0" stepKey="disableCurrencyImport"/>
</after>

<amOnPage url="{{AdminCurrencySetupPage.url}}" stepKey="openCurrencyOptionsPage" />
<amOnPage url="{{AdminCurrencySetupPage.url}}" stepKey="openCurrencyOptionsPage"/>
<conditionalClick dependentSelector="{{AdminScheduledImportSettingsSection.enabled}}" visible="false" selector="{{AdminScheduledImportSettingsSection.head}}" stepKey="openCollapsibleBlock"/>
<see selector="{{AdminScheduledImportSettingsSection.service}}" userInput="Fixer.io" stepKey="seeServiceFixerIo"/>
<selectOption selector="{{AdminScheduledImportSettingsSection.enabled}}" userInput="0" stepKey="disableCurrencyImportOption"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
<stories value="System Integration"/>
<title value="Admin system integration"/>
<description value="Admin Deletes Created Integration"/>
<severity value="MAJOR"/>
<testCaseId value="MC-28027"/>
<group value="integration"/>
<group value="mtf_migrated"/>
</annotations>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<test name="StorefrontNoJavascriptErrorOnAddYourReviewClickTest">
<annotations>
<features value="Review"/>
<stories value="Storefront Add Review"/>
<title value="Storefront no javascript error on 'Add Your Review' click test"/>
<description value="Verify no javascript error occurs when customer clicks 'Add Your Review' link"/>
<severity value="MAJOR"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
<test name="AdminCreateOrderWithDateTimeOptionUITest">
<annotations>
<stories value="Create Order"/>
<title value="Admin create order with date time option UI test"/>
<description value="Check asterisk rendered correctly for Product with custom option (datetime) at backend"/>
<features value="Sales"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<title value="Notify the customer if password complexity does not match the requirements"/>
<description value="Notify the customer if password complexity does not match the requirements"/>
<testCaseId value="MC-14368"/>
<severity value="CRITICAL"/>
<group value="security"/>
<group value="mtf_migrated"/>
</annotations>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<title value="Notify the customer if password length does not match the requirements"/>
<description value="Notify the customer if password length does not match the requirements"/>
<testCaseId value="MC-14367"/>
<severity value="CRITICAL"/>
<group value="security"/>
<group value="mtf_migrated"/>
</annotations>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<test name="AdminSignifydConfigDependentOnActiveFieldTest">
<annotations>
<features value="Signifyd"/>
<stories value="Signify ID Settings"/>
<title value="Signifyd config dependent on active field" />
<description value="Signifyd system configs dependent by Enable this Solution field."/>
<severity value="MINOR"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<test name="AdminSetUpWatermarkForSwatchImageTest">
<annotations>
<features value="Swatches"/>
<stories value="Product Swatches Images"/>
<title value="Possibility to set up watermark for a swatch image type"/>
<description value="Possibility to set up watermark for a swatch image type"/>
<severity value="MAJOR"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<title value="Delete category URL rewrite, hyphen as request path"/>
<description value="Delete category URL rewrite, hyphen as request path"/>
<testCaseId value="MC-5348" />
<severity value="MAJOR"/>
<group value="urlRewrite"/>
<group value="mtf_migrated"/>
</annotations>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<title value="Delete category URL rewrite, with request path"/>
<description value="Delete category URL rewrite, with request path"/>
<testCaseId value="MC-5349" />
<severity value="MAJOR"/>
<group value="urlRewrite"/>
<group value="mtf_migrated"/>
</annotations>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<stories value="Delete CMS Page URL rewrite with No Redirects"/>
<title value="Delete CMS Page URL rewrite with No Redirects"/>
<description value="Log in to admin and delete CMS Page URL rewrite with No Redirects"/>
<severity value="CRITICAL"/>
<testCaseId value="MC-14648"/>
<group value="mtf_migrated"/>
</annotations>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<title value="Delete CMS Page URL rewrite with Temporary Redirect"/>
<description value="Log in to admin and delete CMS Page URL rewrite with Temporary Redirect"/>
<testCaseId value="MC-14650"/>
<severity value="CRITICAL"/>
<group value="mtf_migrated"/>
</annotations>
<before>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<stories value="Update CMS Page URL Redirect With No Redirect"/>
<title value="Update CMS Page URL Redirect With No Redirect"/>
<description value="Login as Admin and tried to update the created URL Rewrite for CMS page"/>
<severity value="MINOR"/>
<group value="cMSContent"/>
<group value="mtf_migrated"/>
</annotations>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<stories value="Update CMS Page URL Redirect With Temporary Redirect"/>
<title value="Update CMS Page URL Redirect With Temporary Redirect"/>
<description value="Login as Admin and tried to update the created URL Rewrite for CMS page"/>
<severity value="MINOR"/>
<group value="cMSContent"/>
<group value="mtf_migrated"/>
</annotations>
Expand Down