File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
app/code/Magento/Bundle/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 50
50
</actionGroup >
51
51
<actionGroup ref =" ResetAdminDataGridToDefaultViewActionGroup" stepKey =" clearFilters" />
52
52
<!-- Verify product on Product Page -->
53
- <amOnPage url =" {{StorefrontProductPage.url($createDynamicBundleProduct.custom_attributes[url_key]$)}}" stepKey =" openBundleProductPage" />
53
+ <actionGroup ref =" StorefrontOpenProductPageActionGroup" stepKey =" openBundleProductPage" >
54
+ <argument name =" productUrl" value =" $$createDynamicBundleProduct.custom_attributes[url_key]$$" />
55
+ </actionGroup >
54
56
<actionGroup ref =" AssertStorefrontProductInfoMainProductNameActionGroup" stepKey =" seeWhoopsMessage" >
55
57
<argument name =" value" value =" Whoops, our bad..." />
56
58
</actionGroup >
60
62
</actionGroup >
61
63
<!-- Should not see bundle product -->
62
64
<dontSee userInput =" $createDynamicBundleProduct.sku$" selector =" {{StorefrontCatalogSearchMainSection.searchResults}}" stepKey =" dontSeeProduct" />
63
- <amOnPage url =" {{StorefrontCategoryPage.url($createCategory.custom_attributes[url_key]$)}}" stepKey =" openCategoryPage" />
65
+ <actionGroup ref =" StorefrontNavigateToCategoryUrlActionGroup" stepKey =" openCategoryPage" >
66
+ <argument name =" categoryUrl" value =" $$createCategory.custom_attributes[url_key]$$" />
67
+ </actionGroup >
64
68
<!-- Should not see any products in category -->
65
69
<dontSee userInput =" $createDynamicBundleProduct.name$" selector =" {{StorefrontCategoryMainSection.productsList}}" stepKey =" dontSeeProductInCategory" />
66
70
<see selector =" {{StorefrontCategoryMainSection.emptyProductMessage}}" userInput =" We can't find products matching the selection." stepKey =" seeEmptyProductMessage" />
You can’t perform that action at this time.
0 commit comments