You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 27, 2019. It is now read-only.
I generally prefer the latter when possible - the only downside is you don't get screenshots when the text does not match (but you do get screenshots when the element is not found).
I'd like to get feedback from you guys on what you prefer.
The text was updated successfully, but these errors were encountered:
Both verifyText and assertText call getText from the fixture. Only now (with verify- / assert-) we know if we need to throw a StopTest exception from the fixture.
In case of '|check (not)|is|...', in contrast to '|ensure|do|...', we don't know what the expectation is, so we should never throw a StopTest exception. Indeed we don't: we only throw StopTest exception in 'executeDoCommand', which is only invoked from 'do', not from 'is'.
So IMHO we should either generate "|ensure|do|verifyText|on|foo|with|bar|" or "|check|is|getText|on|foo|bar|", but not "|check|is|verifyText|on|foo|bar|", which is the current implementation.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I generally prefer the latter when possible - the only downside is you don't get screenshots when the text does not match (but you do get screenshots when the element is not found).
I'd like to get feedback from you guys on what you prefer.
The text was updated successfully, but these errors were encountered: