|
35 | 35 | </createData>
|
36 | 36 |
|
37 | 37 | <!-- Add downloadable link -->
|
38 |
| - <createData entity="downloadableLink1" stepKey="addDownloadableLink"> |
| 38 | + <createData entity="downloadableLink3" stepKey="addDownloadableLink"> |
39 | 39 | <requiredEntity createDataKey="createProduct"/>
|
40 | 40 | </createData>
|
41 | 41 |
|
42 | 42 | <!-- Add downloadable sample -->
|
43 |
| - <createData entity="DownloadableSample" stepKey="addDownloadableSample"> |
| 43 | + <createData entity="DownloadableSampleWithStaticDomain" stepKey="addDownloadableSample"> |
44 | 44 | <requiredEntity createDataKey="createProduct"/>
|
45 | 45 | </createData>
|
46 | 46 | </before>
|
|
65 | 65 |
|
66 | 66 | <!-- Sample url is accessible -->
|
67 | 67 | <actionGroup ref="AssertStorefrontSeeElementActionGroup" stepKey="seeDownloadableSample">
|
68 |
| - <argument name="selector" value="{{StorefrontDownloadableProductSection.downloadableSampleLabel(DownloadableSample.title)}}"/> |
| 68 | + <argument name="selector" value="{{StorefrontDownloadableProductSection.downloadableSampleLabel(DownloadableSampleWithStaticDomain.title)}}"/> |
69 | 69 | </actionGroup>
|
70 |
| - <click selector="{{StorefrontDownloadableProductSection.downloadableSampleLabel(DownloadableSample.title)}}" stepKey="clickDownloadableSample"/> |
| 70 | + <click selector="{{StorefrontDownloadableProductSection.downloadableSampleLabel(DownloadableSampleWithStaticDomain.title)}}" stepKey="clickDownloadableSample"/> |
71 | 71 |
|
72 | 72 | <!-- Grab Sample id -->
|
73 | 73 | <switchToNextTab stepKey="switchToSampleTab"/>
|
|
76 | 76 |
|
77 | 77 | <!-- Link Sample url is accessible -->
|
78 | 78 | <actionGroup ref="AssertStorefrontSeeElementActionGroup" stepKey="seeDownloadableLink">
|
79 |
| - <argument name="selector" value="{{StorefrontDownloadableProductSection.downloadableLinkLabel(downloadableLink1.title)}}"/> |
| 79 | + <argument name="selector" value="{{StorefrontDownloadableProductSection.downloadableLinkLabel(downloadableLink3.title)}}"/> |
80 | 80 | </actionGroup>
|
81 |
| - <click selector="{{StorefrontDownloadableProductSection.downloadableLinkSampleByTitle(downloadableLink1.title)}}" stepKey="clickDownloadableLinkSample"/> |
| 81 | + <click selector="{{StorefrontDownloadableProductSection.downloadableLinkSampleByTitle(downloadableLink3.title)}}" stepKey="clickDownloadableLinkSample"/> |
82 | 82 |
|
83 | 83 | <!-- Grab Link Sample id -->
|
84 | 84 | <switchToNextTab stepKey="switchToLinkSampleTab"/>
|
|
0 commit comments