-
Notifications
You must be signed in to change notification settings - Fork 3
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
Move Assertion Methods #41
Comments
i think there should be an asserts file for this. that's just my opinion tho |
But the methods will have to call the existing sendMessage method so they can get the data to assert from or do you mean create our custom assert? alternatively, we could just remove the assertions from these methods and leave it down to the user, eg asserUrlIs turns into getUrl |
leaving it up to the user seems like a good idea but let me think about it and try out that UX first |
Alright sounds good 👍 |
By working on the possibility of adding firefox support, i might have to restructure the methods and classes, and my gut feeling that the end result will address this, with it being:
|
think we're fine to close this now, only assertsee exists and its on the page class, semtically it makes sense |
Summary
What:
Move the assertion methods outside of the HeadlessBrowser class as it doesn't really make much sense.
Discuss how we would approach this
Why:
See #39 (comment)
Acceptance Criteria
The text was updated successfully, but these errors were encountered: