Skip to content

Need I.comment() or I.remark() or similar #313

@nmitha

Description

@nmitha

console.log isn't sufficient to print info during tests, because it will run all console.log calls right away instead of at the intuitive time.

You should be able to do this:

I.login();
let copyright = yield I.grabTextFrom('div.copyright');
I.comment(`copyright message on page is ${copyright}`);
assert(copyright.indexOf('2016') >= 0, 'Copyright message has correct year');
// Other I. commands

Right now we're resorting to ugliness like this:

I.dontSee(`copyright message found on page is: ${copyright}`);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions