|
10 | 10 | <test name="AdminEditMediaGalleryProductAttributeScopeTest">
|
11 | 11 | <annotations>
|
12 | 12 | <features value="Catalog"/>
|
13 |
| - <stories value="MC-38156-Error on changing Media gallery attribute scope back to Global"/> |
| 13 | + <stories value="Attributes Updating"/> |
14 | 14 | <group value="Catalog"/>
|
15 |
| - <title value="Admin are not able to change Scope of Media Gallery product attribute"/> |
16 |
| - <description value="Admin are not able to change Scope of Media Gallery product attribute"/> |
| 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"/> |
17 | 17 | <severity value="MAJOR"/>
|
| 18 | + <useCaseId value="MC-38156"/> |
18 | 19 | <testCaseId value="MC-40774"/>
|
19 | 20 | </annotations>
|
20 | 21 | <before>
|
21 | 22 | <actionGroup ref="AdminLoginActionGroup" stepKey="loginGetFromGeneralFile"/>
|
22 | 23 | </before>
|
23 | 24 |
|
24 |
| - <actionGroup ref="AdminOpenProductAttributePageActionGroup" stepKey="navigateToProductAttribute"/> |
25 |
| - <click selector="{{AdminProductAttributeGridSection.ResetFilter}}" stepKey="resetFiltersOnGrid1"/> |
26 |
| - <fillField selector="{{AdminProductAttributeGridSection.GridFilterFrontEndLabel}}" userInput="Media Gallery" stepKey="setAttributeLabel1"/> |
27 |
| - <click selector="{{AdminProductAttributeGridSection.Search}}" stepKey="searchForAttributeFromTheGrid1"/> |
28 |
| - <click selector="{{AdminProductAttributeGridSection.FirstRow}}" stepKey="clickOnAttributeRow1"/> |
29 |
| - <waitForPageLoad stepKey="wait2"/> |
| 25 | + <actionGroup ref="NavigateToEditProductSystemAttributeActionGroup" stepKey="navigateToMediaGalleryProductAttribute"> |
| 26 | + <argument name="ProductAttributeLabel" value="Media Gallery"/> |
| 27 | + </actionGroup> |
30 | 28 |
|
31 |
| - <seeOptionIsSelected selector="{{AttributePropertiesSection.InputType}}" userInput="Gallery" stepKey="seeGallerySelected" /> |
32 |
| - <see selector="{{AttributePropertiesSection.InputType}}" userInput="Gallery" stepKey="seeGallerySelected1" /> |
33 | 29 | <click selector="{{AdvancedAttributePropertiesSection.AdvancedAttributePropertiesSectionToggle}}" stepKey="clickAdvancedAttributePropertiesSectionToggle"/>
|
34 | 30 |
|
35 |
| - <seeElement selector="{{AdvancedAttributePropertiesSection.Scope}}" stepKey="seeScope" /> |
36 |
| - <seeOptionIsSelected selector="{{AdvancedAttributePropertiesSection.Scope}}" userInput="Global" stepKey="seeGlobalScopeSelected" /> |
37 |
| - <see selector="{{AdvancedAttributePropertiesSection.Scope}}" userInput="Global" stepKey="seeGlobalScopeSelected1" /> |
| 31 | + <assertElementContainsAttribute stepKey="assertElementContainsAttribute"> |
| 32 | + <expectedResult selector="{{AdvancedAttributePropertiesSection.Scope}}" attribute="disabled" type="string"></expectedResult> |
| 33 | + </assertElementContainsAttribute> |
38 | 34 |
|
39 |
| - <seeElement selector="{{AdvancedAttributePropertiesSectionToggle.ScopeDisabled}}" stepKey="seeScopeDisabled" /> |
40 |
| - <seeOptionIsSelected selector="{{AdvancedAttributePropertiesSection.ScopeDisabled}}" userInput="Global" stepKey="seeGlobalScopeSelectedDisabled" /> |
41 |
| - <see selector="{{AdvancedAttributePropertiesSection.ScopeDisabled}}" userInput="Global" stepKey="seeGlobalScopeSelectedDisabled1" /> |
42 | 35 | </test>
|
43 | 36 | </tests>
|
44 | 37 |
|
0 commit comments