|
49 | 49 | <actionGroup ref="AdminOpenProductImagesSectionActionGroup" stepKey="expandImages"/>
|
50 | 50 |
|
51 | 51 | <!-- Upload and set Base image -->
|
52 |
| - <attachFile selector="{{AdminProductImagesSection.imageFileUpload}}" userInput="adobe-base.jpg" stepKey="attach1"/> |
53 |
| - <waitForPageLoad stepKey="waitForUpload1"/> |
| 52 | + <actionGroup ref="AddProductImageActionGroup" stepKey="attach1"> |
| 53 | + <argument name="image" value="TestImageAdobe"/> |
| 54 | + </actionGroup> |
| 55 | + <comment userInput="BIC workaround" stepKey="waitForUpload1"/> |
| 56 | + <waitForElementVisible selector="{{AdminProductImagesSection.nthProductImage('1')}}" stepKey="waitForOpenImageDetails1"/> |
54 | 57 | <click selector="{{AdminProductImagesSection.nthProductImage('1')}}" stepKey="openImageDetails1"/>
|
55 | 58 | <waitForPageLoad stepKey="waitForSlideout1"/>
|
56 | 59 | <conditionalClick selector="{{AdminProductImagesSection.roleBase}}" dependentSelector="{{AdminProductImagesSection.isBaseSelected}}" visible="false" stepKey="base1"/>
|
|
61 | 64 | <waitForPageLoad stepKey="waitForHide1"/>
|
62 | 65 |
|
63 | 66 | <!-- Upload and set Small image -->
|
64 |
| - <attachFile selector="{{AdminProductImagesSection.imageFileUpload}}" userInput="adobe-small.jpg" stepKey="attach2"/> |
65 |
| - <waitForPageLoad stepKey="waitForUpload2"/> |
| 67 | + <actionGroup ref="AddProductImageActionGroup" stepKey="attach2"> |
| 68 | + <argument name="image" value="AdobeSmallImage"/> |
| 69 | + </actionGroup> |
| 70 | + <comment userInput="BIC workaround" stepKey="waitForUpload2"/> |
| 71 | + <waitForElementVisible selector="{{AdminProductImagesSection.nthProductImage('2')}}" stepKey="waitForOpenImageDetails2"/> |
66 | 72 | <click selector="{{AdminProductImagesSection.nthProductImage('2')}}" stepKey="openImageDetails2"/>
|
67 | 73 | <waitForPageLoad stepKey="waitForSlideout2"/>
|
68 | 74 | <conditionalClick selector="{{AdminProductImagesSection.roleBase}}" dependentSelector="{{AdminProductImagesSection.isBaseSelected}}" visible="true" stepKey="base2"/>
|
|
73 | 79 | <waitForPageLoad stepKey="waitForHide2"/>
|
74 | 80 |
|
75 | 81 | <!-- Upload and set Thumbnail image -->
|
76 |
| - <attachFile selector="{{AdminProductImagesSection.imageFileUpload}}" userInput="adobe-thumb.jpg" stepKey="attach3"/> |
77 |
| - <waitForPageLoad stepKey="waitForUpload3"/> |
| 82 | + <actionGroup ref="AddProductImageActionGroup" stepKey="attach3"> |
| 83 | + <argument name="image" value="AdobeThumbImage"/> |
| 84 | + </actionGroup> |
| 85 | + <comment userInput="BIC workaround" stepKey="waitForUpload3"/> |
| 86 | + <waitForElementVisible selector="{{AdminProductImagesSection.nthProductImage('3')}}" stepKey="waitForOpenImageDetails3"/> |
78 | 87 | <click selector="{{AdminProductImagesSection.nthProductImage('3')}}" stepKey="openImageDetails3"/>
|
79 | 88 | <waitForPageLoad stepKey="waitForSlideout3"/>
|
80 | 89 | <conditionalClick selector="{{AdminProductImagesSection.roleBase}}" dependentSelector="{{AdminProductImagesSection.isBaseSelected}}" visible="true" stepKey="base3"/>
|
|
0 commit comments