v1
2/11/2025 by edison -00
disable setup HTML
Setup HTML
<div id="app">
</div>
disable setup JavaScript
Setup JavaScript
const root = document.createElement('section')
const app = document.querySelector('#app')
new Array(1000).fill(0).forEach((i) => {
  const p = document.createElement('p')
  p.innerText = i
  root.appendChild(document.createElement('p'))
})
app.appendChild(root)


function children(node, idx) {
  return node.childNodes[idx]
}

function nextn(node, offset = 1) {
  for (let i = 0; i < offset; i++) {
    node = node.nextSibling
  }
  return node
}
delete caserun single casemove downdrag and drop case


ready




let node3 = children(root, 2)
let node4 = children(root, 6)
let node5 = children(root, 10)
delete caserun single casemove updrag and drop case


ready



const first = root.firstChild
let node3 = nextn(first, 2)
let node4 = nextn(first, 6)
let node5 = nextn(first, 10)
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