You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This feature is exploding the whole string inside the paranntheses.
Its more or less impossible to use XPATH in this method as we cannot use //span[contains(@Class,'class-to-search-for') and contains(@Class,'has-another-class')] it will add " around the comma signs.
I know this is translatable to css selector but thats not the issue. I cannot use string literals with , sign as variables
Hi @JesperHerrloff. Thank you for your report.
To speed up processing of this issue, make sure that you provided sufficient information.
Add a comment to assign the issue: @magento I am working on this
magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Util/TestGenerator.php
Line 1818 in 0a56728
Its more or less impossible to use XPATH in this method as we cannot use //span[contains(@Class,'class-to-search-for') and contains(@Class,'has-another-class')] it will add " around the comma signs.
I know this is translatable to css selector but thats not the issue. I cannot use string literals with , sign as variables
Where vehicle is: 2.0 TDI (CKUB, CSNA) 163Hk | Bakhjulsdrift | 201107-201612 | Skåp
<element name="vehicleOption" type="text" locatorFunction="contains(span.select2-dropdown.vehicle-select > li.select2-results__option, {{vehicle}})" parameterized="true"/>
Preconditions
Using Magento 2.4.6-p3
Steps to reproduce
Expected result
$I->click(Locator::contains("span.select2-dropdown.vehicle-select > li.select2-results__option", "2.0 TDI (CKUB, CSNA) 163Hk | Bakhjulsdrift | 201107-201612 | Skåp")); // stepKey: clicksOnVehicleOptionCustomerGivesAChoiceToSelectSpecificVehicle
Actual result
$I->click(Locator::contains("span.select2-dropdown.vehicle-select > li.select2-results__option", "2.0 TDI (CKUB", "CSNA) 163Hk | Bakhjulsdrift | 201107-201612 | Skåp")); // stepKey: clicksOnVehicleOptionCustomerGivesAChoiceToSelectSpecificVehicle
The text was updated successfully, but these errors were encountered: