Path Steps

URL path, query parameter, fragment, JSON Pointer assertions. Useful for marketing-link QA and analytics PMs.

Step phrasings in this group

The book sidebar lists each individual step page under this group.

Then the path should be "/dashboard"

Assert the current URL pathname equals an expected string (no query/fragment).

Then the path should not be "/login"

Assert the current URL pathname is NOT equal to an expected string.

Then current url should have the "lang" parameter

Assert the current URL has the named query parameter (any value).

Then current url should have the "lang" parameter with the "en" value

Assert the current URL has the named query parameter with the exact value.

Then current url should not have the "missing" parameter

Assert the current URL does NOT carry the named query parameter.

Then current url should not have the "lang" parameter with the "fr" value

Assert the current URL does NOT carry a parameter+value pair.

Given the basic authentication with the username "admin" and the password "secret"

Re-open the browser context with HTTP basic-auth credentials.

When I go back

Navigate one step back in the browser history.

Back to all step groups