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
// return r.formData(); Uncomment this when FormData is available!
240
-
returnr.json();
244
+
returnr.formData();
241
245
}).then(function(r){
242
246
try{
243
-
TKUnit.assert(r.form["MyVariableOne"]==="ValueOne"&&r.form["MyVariableTwo"]==="ValueTwo","Content not sent/received properly! Actual result is: "+r.form);
247
+
TKUnit.assert(rinstanceofFormData,"Content not sent/received properly! Actual result is: "+r);
TKUnit.assert(result["form"]["MyVariableOne"]==="ValueOne"&&result["form"]["MyVariableTwo"]==="ValueTwo","Content not sent/received properly! Result is: "+xhr.responseText);
0 commit comments