I can’t complete one of the last lessons in the Quality Assurance course: ’ Run Functional Tests using a Headless Browser’
Hello @hang_cw,
I had the same issue. I think this should be browser.assert.elements('span#dates', 1)
( and not browser.assert.element('span#dates', 1);
)
Also what worked for me was to put this:
suite('"Famous Italian Explorers" form', function () {
suiteSetup(function(done) {
return browser.visit('/', done);
});
So suiteSetup inside the suite of the form. Even though the test keeps failing sometimes. If this doesn’t help, search on the challenge in the forum, you will find more about possible solutions. Good luck, hope this was helpful.
2 Likes
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.