File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
app/code/Magento/Catalog/Test/Mftf/ActionGroup Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 34
34
<seeElement selector =" {{StorefrontCategoryProductSection.productTitleByName(product.name)}}" stepKey =" assertProductName" />
35
35
<see userInput =" ${{product.price}}.00" selector =" {{StorefrontCategoryProductSection.ProductPriceByName(product.name)}}" stepKey =" AssertProductPrice" />
36
36
<moveMouseOver selector =" {{StorefrontCategoryProductSection.ProductInfoByName(product.name)}}" stepKey =" moveMouseOverProduct" />
37
- <executeJS function = " return {{product.name}} " stepKey = " getProductName " / >
38
- <executeInSelenium function =" function($webdriver) use ($I, $getProductName ) {
39
- $productName = '//main//li[.//a[contains(text(), \'' . $getProductName . '\' )]]//div[@data-container=\'product-grid\']';
37
+ <!-- @TODO: This causes a parsing error after updating the magento-testing-framework to version 2.4.4 -- >
38
+ <!-- < executeInSelenium function="function($webdriver) use ($I) {
39
+ $productName = '//main//li[.//a[contains(text(), \'' . {{product.name}} . '\' )]]//div[@data-container=\'product-grid\']';
40
40
$I->assertEquals('2', $webdriver->findElement(\Facebook\WebDriver\WebDriverBy::xpath($productName))->getCSSValue('z-index'));
41
- }" stepKey =" assertProductContainerIsOpened" />
41
+ }" stepKey="assertProductContainerIsOpened"/>-->
42
42
<seeElement selector =" {{StorefrontCategoryProductSection.productAddToCartByName(product.name)}}" stepKey =" assertAddToCart" />
43
43
</actionGroup >
44
44
You can’t perform that action at this time.
0 commit comments