Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(feature request) expect(page).toHaveUrl(expectedUrl) #62

Closed
lgrammel opened this issue Mar 1, 2021 · 0 comments · Fixed by #63
Closed

(feature request) expect(page).toHaveUrl(expectedUrl) #62

lgrammel opened this issue Mar 1, 2021 · 0 comments · Fixed by #63
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@lgrammel
Copy link

lgrammel commented Mar 1, 2021

Was thinking that it might be nice to have a shorthand

expect(page).toHaveUrl(expectedUrl);

that would be equivalent to the longer

expect(await page.url()).toEqual(expectedUrl);
@mxschmitt mxschmitt added enhancement New feature or request good first issue Good for newcomers labels Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants