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

Ability to setup messages for assertions #52

Open
NighthawkHK opened this issue Jul 19, 2023 · 0 comments
Open

Ability to setup messages for assertions #52

NighthawkHK opened this issue Jul 19, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@NighthawkHK
Copy link

NighthawkHK commented Jul 19, 2023

Add new function that will allow to setup message for assertion, so when the assertion fails the message will be displayed in logs instead of default one, e.g.
matcher.withUseUnmergedTree(true).withMessage("Element should be enabled").assertIsEnabled()

It would be helpful to have such method not only for compose elements, but also for xml, uiobjects etc

@alex-tiurin alex-tiurin added the enhancement New feature or request label Aug 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants