Functional tests stop after the first .log() call.
In functionalTests.js :
.waitForVisible('#pages .page') //outdated
Replaced with:
.waitForVisible('[data-hook="page-container"] .page')
New people not added.
.click('button.add') // doesn't work since there's no such button
Replaced with:
.click('[data-hook="add"]')
And then added a button to call randomPerson() when clicked.
Functional tests stop after the first .log() call.
In functionalTests.js :
.waitForVisible('#pages .page') //outdated
Replaced with:.waitForVisible('[data-hook="page-container"] .page')
New people not added.
.click('button.add') // doesn't work since there's no such button
Replaced with:.click('[data-hook="add"]')
And then added a button to call randomPerson() when clicked.