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

more helpful error/fail messages #62

Closed
ElSnoMan opened this issue Apr 5, 2020 · 0 comments
Closed

more helpful error/fail messages #62

ElSnoMan opened this issue Apr 5, 2020 · 0 comments
Labels
enhancement New feature or request hacktoberfest-accepted Hacktoberfest!

Comments

@ElSnoMan
Copy link
Owner

ElSnoMan commented Apr 5, 2020

Example:

assert py.get('[class*="rarityCaption"]').should().have_text('Common')

gave me the AssertionError as expected, but all it says is

Element did not have text: Common

It would be nice to show what it compared against

@ElSnoMan ElSnoMan added enhancement New feature or request hacktoberfest-accepted Hacktoberfest! labels Apr 5, 2020
@ElSnoMan ElSnoMan closed this as completed Apr 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest-accepted Hacktoberfest!
Projects
None yet
Development

No branches or pull requests

1 participant