v1
3/7/2022 by saravanapriyan -00
Setup HTML - click to add setup HTML
disable setup JavaScript
Setup JavaScript
let id;
let clusters = [
  { id: 1, name: "blah" },
  { id: 2, name: "foo" },
  { id: 3, name: "bar" },
];
let clusterName = "blah";
delete caserun single casemove downdrag and drop case


ready



clusters.forEach((cluster) => {
  const checkCluster = clusterName === cluster.name;
  if (checkCluster) {
    id = cluster.id;
    return;
  }
});
delete caserun single casemove updrag and drop case


ready



let found = clusters.find(cluster => cluster.name === clusterName);
id = found?.id;
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