// Expand specified row and wait till children are displayed.
await expandRow(panel, "_a");
// Verify that children is displayed now. const childRows = getAllRowsForLabel(panel, "_a");
const item = childRows.pop();
is(item.name, "length", "length property is correct");
is(item.value, 26, "length property value is 26");
let i = 0; for (const name in childRows) { const row = childRows[name];
is(
parseInt(name, 10),
i++,
`index ${name} is correct and sorted into the correct position`
); Assert.strictEqual( typeof row.name, "number", "array index is displayed as a number"
);
is(TEST_ARRAY[name], row.value, `value for array[${name}] is ${row.value}`);
}
});
¤ Dauer der Verarbeitung: 0.17 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.