File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed
src/Magento/FunctionalTestingFramework/Util Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ class BasicFunctionalCest
75
75
$I->dragAndDrop(".functionalTestSelector", ".functionalTestSelector2");
76
76
$I->executeJS("someJSFunction");
77
77
$I->fillField(".functionalTestSelector", "someInput");
78
+ $I->fillField(".functionalTestSelector", "0");
78
79
$grabAttributeVar = $I->grabAttributeFrom(".functionalTestSelector", "someInput");
79
80
$grabCookieVar = $I->grabCookie("grabCookieInput", ['domain' => 'www.google.com']);
80
81
$grabUrlVar = $I->grabFromCurrentUrl("/grabCurrentUrl");
Original file line number Diff line number Diff line change 60
60
<dragAndDrop selector1 =" .functionalTestSelector" selector2 =" .functionalTestSelector2" mergeKey =" dragAndDropKey1" />
61
61
<executeJS function =" someJSFunction" mergeKey =" executeJSKey1" />
62
62
<fillField selector =" .functionalTestSelector" userInput =" someInput" mergeKey =" fillFieldKey1" />
63
+ <fillField selector =" .functionalTestSelector" userInput =" 0" mergeKey =" fillFieldKey2" />
63
64
<grabAttributeFrom returnVariable =" grabAttributeVar" selector =" .functionalTestSelector" userInput =" someInput" mergeKey =" grabAttributeFromKey1" />
64
65
<grabCookie returnVariable =" grabCookieVar" userInput =" grabCookieInput" parameterArray =" ['domain' => 'www.google.com']" mergeKey =" grabCookieKey1" />
65
66
<grabFromCurrentUrl returnVariable =" grabUrlVar" url =" /grabCurrentUrl" mergeKey =" grabFromCurrentUrlKey1" />
Original file line number Diff line number Diff line change @@ -1206,7 +1206,7 @@ private function addUniquenessFunctionCall($input)
1206
1206
*/
1207
1207
private function wrapWithDoubleQuotes ($ input )
1208
1208
{
1209
- if (empty ( $ input) ) {
1209
+ if ($ input == null ) {
1210
1210
return '' ;
1211
1211
}
1212
1212
//Only replace " with \" so that it doesn't break outer string.
You can’t perform that action at this time.
0 commit comments