Skip to content

Enhance the message of waitForUrlToBeEqualToExpectedUrl and related methods #122

Description

@wlsf82

Currently, the message of the waitForUrlToBeEqualToExpectedUrl method is something like:

Failed: current URL is different than expected URL: 'https://my-app.com'.

This lets us know that the URL is different than the expected one, but it does not tell us what's the current URL, which could be a piece of very helpful information when debugging failures.

I suggest that we change the message to something like:

Failed: current URL (https://www.i-am-the-current-url.com) is different than expected URL (https://im-another-url.com).

Note: remember to do the same for related methods (i.e., waitForUrlNotToBeEqualToExpectedUrl, waitForUrlToContainString, waitForUrlNotToContainString.)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions