MCPcopy Index your code
hub / github.com/NativeScript/nativescript-angular / addElement

Function addElement

e2e/renderer/e2e/ngfor.e2e-spec.ts:100–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98 });
99
100 const addElement = async function () {
101 await addButton.click();
102
103 lastAddedElementId += 1;
104 const newElement = await driver.findElementByAutomationText(
105 lastAddedElementId.toString());
106
107 elements.push(newElement);
108 };
109
110 const removeElement = async (index?: number) => {
111 index;

Callers 1

ngfor.e2e-spec.tsFile · 0.70

Calls 2

toStringMethod · 0.80
pushMethod · 0.80

Tested by

no test coverage detected