v1
6/27/2022 by ammarnajjar -00
Setup HTML - click to add setup HTML
disable setup JavaScript
Setup JavaScript
const _filter = value => value;
const options = [1, 2, 3, 4, 5]
const values = [
  "",
  { name: "name1" },
  { name: "name2" },
  { name: "name3" },
  { name: "" },
  { name: "name5" },
  { name: "name6" }
];

delete caserun single casemove downdrag and drop case


ready



const x = values
  .map(value => (typeof value === "string" ? value : value?.name))
  .map(name => (name ? _filter(name) : options.slice()));
delete caserun single casemove updrag and drop case


ready



const x = values.map(value => {
  const name = typeof value === "string" ? value : value?.name;
  return(name ? _filter(name) : options.slice());
});
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