v2
- by hkotsubo 11/27/202000
Setup HTML - click to add setup HTML
disable setup JavaScript
Setup JavaScript
var teste = ["oi", "tudo", "bem", "oi"];
delete caserun single casemove downdrag and drop case


ready



qtd = teste.filter(x => x === "oi").length;
delete caserun single casemove upmove downdrag and drop case


ready



qtd = 0;
for (var i = 0; i < teste.length; i++) {
    if (teste[i] === "oi") qtd++;
}
delete caserun single casemove updrag and drop case


ready



qtd = 0;
for (var s of teste) {
    if (s === "oi")
        qtd++;
}
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