diff --git a/resources/tests.mjs b/resources/tests.mjs index 699d758a0..04968e910 100644 --- a/resources/tests.mjs +++ b/resources/tests.mjs @@ -78,66 +78,6 @@ Suites.push({ ], }); -Suites.push({ - name: "TodoMVC-JavaScript-ES6", - url: "todomvc/vanilla-examples/javascript-es6/dist/index.html", - tags: ["todomvc"], - async prepare(page) { - const element = await page.waitForElement(".new-todo"); - element.focus(); - }, - tests: [ - new BenchmarkTestStep(`Adding${numberOfItemsToAdd}Items`, (page) => { - const newTodo = page.querySelector(".new-todo"); - for (let i = 0; i < numberOfItemsToAdd; i++) { - newTodo.setValue(todos.en[i] ?? `${defaultTodoText.en} ${i}`); - newTodo.dispatchEvent("change"); - newTodo.enter("keypress"); - } - }), - new BenchmarkTestStep("CompletingAllItems", (page) => { - const checkboxes = page.querySelectorAll(".toggle"); - for (let i = 0; i < numberOfItemsToAdd; i++) - checkboxes[i].click(); - }), - new BenchmarkTestStep("DeletingAllItems", (page) => { - const deleteButtons = page.querySelectorAll(".destroy"); - for (let i = numberOfItemsToAdd - 1; i >= 0; i--) - deleteButtons[i].click(); - }), - ], -}); - -Suites.push({ - name: "TodoMVC-JavaScript-ES6-Complex-DOM", - url: "todomvc/vanilla-examples/javascript-es6-complex/dist/index.html", - tags: ["todomvc"], - async prepare(page) { - const element = await page.waitForElement(".new-todo"); - element.focus(); - }, - tests: [ - new BenchmarkTestStep(`Adding${numberOfItemsToAdd}Items`, (page) => { - const newTodo = page.querySelector(".new-todo"); - for (let i = 0; i < numberOfItemsToAdd; i++) { - newTodo.setValue(todos.en[i] ?? `${defaultTodoText.en} ${i}`); - newTodo.dispatchEvent("change"); - newTodo.enter("keypress"); - } - }), - new BenchmarkTestStep("CompletingAllItems", (page) => { - const checkboxes = page.querySelectorAll(".toggle"); - for (let i = 0; i < numberOfItemsToAdd; i++) - checkboxes[i].click(); - }), - new BenchmarkTestStep("DeletingAllItems", (page) => { - const deleteButtons = page.querySelectorAll(".destroy"); - for (let i = numberOfItemsToAdd - 1; i >= 0; i--) - deleteButtons[i].click(); - }), - ], -}); - Suites.push({ name: "TodoMVC-JavaScript-ES6-Webpack-Complex-DOM", url: "todomvc/vanilla-examples/javascript-es6-webpack/complex/dist/index.html", @@ -470,35 +410,6 @@ Suites.push({ ], }); -Suites.push({ - name: "TodoMVC-jQuery-Complex-DOM", - url: "todomvc/architecture-examples/jquery-complex/dist/index.html", - tags: ["todomvc"], - async prepare(page) { - await page.waitForElement("#appIsReady"); - const newTodo = page.getElementById("new-todo"); - newTodo.focus(); - }, - tests: [ - new BenchmarkTestStep(`Adding${numberOfItemsToAdd}Items`, (page) => { - const newTodo = page.querySelector(".new-todo"); - for (let i = 0; i < numberOfItemsToAdd; i++) { - newTodo.setValue(todos.en[i] ?? `${defaultTodoText.en} ${i}`); - newTodo.enter("keyup"); - } - }), - new BenchmarkTestStep("CompletingAllItems", (page) => { - const checkboxes = page.querySelectorAll(".toggle"); - for (let i = 0; i < numberOfItemsToAdd; i++) - checkboxes[i].click(); - }), - new BenchmarkTestStep("DeletingAllItems", (page) => { - for (let i = numberOfItemsToAdd - 1; i >= 0; i--) - page.querySelector(".destroy").click(); - }), - ], -}); - Suites.push({ name: "TodoMVC-Preact-Complex-DOM", url: "todomvc/architecture-examples/preact-complex/dist/index.html#/home",