Tell us what’s happening:
I received this message from test output. Please help me. I am thankful.
// running tests
All tests should pass (Test timed out)
assert that the headless browser request succeeded (Test timed out)
assert that the text inside the element ‘span#name’ is ‘Cristoforo’ (Test timed out)
assert that the text inside the element ‘span#surname’ is ‘Colombo’ (Test timed out)
assert that the element ‘span#dates’ exist and its count is 1 (Test timed out)
// tests completed
Your code so far
test(‘submit “surname” : “Colombo” - write your e2e test…’, function(done) {
browser.fill("surname", "Colombo").pressButton("submit", function() {
browser.assert.success();
browser.assert.text("span#name", "Cristoforo");
browser.assert.text("span#surname", "Colombo");
browser.assert.element("span#dates", 1);
done();
});
});
Your browser information: google chrome
User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36
.