|
7 | 7 | -->
|
8 | 8 | <tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
9 | 9 | xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
|
10 |
| - <test name="AdminEditMediaGalleryProductAttributeScopeTest"> |
| 10 | + <test name="AdminScopeSelectionShouldBeDisabledOnMediaGalleryProductAttributeEditTest"> |
11 | 11 | <annotations>
|
12 | 12 | <features value="Catalog"/>
|
13 | 13 | <stories value="Attributes Updating"/>
|
14 | 14 | <group value="Catalog"/>
|
15 |
| - <title value="Admin is not able to change Scope of Media Gallery product attribute"/> |
16 |
| - <description value="Admin is not able to change Scope of Media Gallery product attribute"/> |
| 15 | + <title value="Admin should not able to change Scope of Media Gallery product attribute"/> |
| 16 | + <description value="Admin should not able to change Scope of Media Gallery product attribute"/> |
17 | 17 | <severity value="MAJOR"/>
|
18 | 18 | <useCaseId value="MC-38156"/>
|
19 |
| - <testCaseId value="MC-40774"/> |
| 19 | + <testCaseId value="AC-1337"/> |
20 | 20 | </annotations>
|
21 | 21 | <before>
|
22 |
| - <actionGroup ref="AdminLoginActionGroup" stepKey="loginGetFromGeneralFile"/> |
| 22 | + <actionGroup ref="AdminLoginActionGroup" stepKey="loginAdmin"/> |
23 | 23 | </before>
|
| 24 | + <after> |
| 25 | + <actionGroup ref="AdminLogoutActionGroup" stepKey="logoutOfAdmin"/> |
| 26 | + </after> |
24 | 27 |
|
25 |
| - <actionGroup ref="NavigateToEditProductSystemAttributeActionGroup" stepKey="navigateToMediaGalleryProductAttribute"> |
| 28 | + <actionGroup ref="AdminNavigateToProductAttributeEditPageActionGroup" stepKey="navigateToMediaGalleryProductAttribute"> |
26 | 29 | <argument name="ProductAttributeLabel" value="Media Gallery"/>
|
27 | 30 | </actionGroup>
|
28 | 31 |
|
29 | 32 | <click selector="{{AdvancedAttributePropertiesSection.AdvancedAttributePropertiesSectionToggle}}" stepKey="clickAdvancedAttributePropertiesSectionToggle"/>
|
30 | 33 |
|
31 |
| - <assertElementContainsAttribute stepKey="assertElementContainsAttribute"> |
| 34 | + <assertElementContainsAttribute stepKey="assertTheScopeSelectionIsDisabled"> |
32 | 35 | <expectedResult selector="{{AdvancedAttributePropertiesSection.Scope}}" attribute="disabled" type="string"></expectedResult>
|
33 | 36 | </assertElementContainsAttribute>
|
34 | 37 |
|
|
0 commit comments