v1
- by dok11 12/28/202100
Setup HTML - click to add setup HTML
Setup JS - click to add setup JavaScript
delete caserun single casemove downdrag and drop case


ready



optionsA = [-5, -4, -3, 0, 1, 2, 3, 5, 10, 100];
optionsB = [null, undefined, false, 0, true, 1, 999, 'A'];

foo = { fieldA: optionsA[+(Math.random() * (optionsA.length - 1)).toFixed()] }
bar = { fieldB: optionsB[+(Math.random() * (optionsB.length - 1)).toFixed()] }

check = foo.fieldA > 1 && bar.fieldB;

console.log(check);
delete caserun single casemove updrag and drop case


ready



optionsA = [-5, -4, -3, 0, 1, 2, 3, 5, 10, 100];
optionsB = [null, undefined, false, 0, true, 1, 999, 'A'];

foo = { fieldA: optionsA[+(Math.random() * (optionsA.length - 1)).toFixed()] }
bar = { fieldB: optionsB[+(Math.random() * (optionsB.length - 1)).toFixed()] }

check = bar.fieldB && foo.fieldA > 1;

console.log(check);
Test Case - click to add another test case
Teardown JS - click to add teardown JavaScript
Output (DOM) - click to monitor output (DOM) while test is running
RUN