in integration/pages/RosterTestPage.js [74:84]
async checkIfAttendeeIsInRoster(attendeeName) {
const isMatched = this.waitUntil(async () => {
const rosterCells = await this.findAll(ELEMENTS.rosterCell);
for (const rosterCell of rosterCells) {
const name = await rosterCell.getText();
return name === attendeeName;
}
});
assert(isMatched, `Attendee ${attendeeName} is not in the roster`);
}