-
Notifications
You must be signed in to change notification settings - Fork 82
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
Add tests for freestyle dynamic #171
Add tests for freestyle dynamic #171
Conversation
d6ddf51
to
577ab96
Compare
@danwenzel I'm excited that you've followed up with tests for the freestyle-dynamic work. The following is just my opinion: I don't think page objects are a good fit for an opensource project. They essentially define a new DSL that you need to learn in order to understand the tests, which you can make a case for on a team that is living with an test suite for years, but is harder when you want new contributors to be able to pop into an open source repo and help. I would prefer to see freestyle adopt a qunit.dom-style approach to assertions. Again, just my $.02. |
Good thoughts, @lukemelia . I was following the pattern of the existing acceptance tests, so perhaps @chrislopresto has some thoughts. If we're going to make a change, it's probably better to do it throughout the test suite to keep things consistent . |
Awesome. Thanks, @danwenzel! @lukemelia It may indeed be nice to refactor the entire test suite away from page objects. I'd be happy to merge this PR as is to gain the test coverage in the meantime, though. Thoughts? |
@lukemelia - What do you think? Ok to merge this, and then separately refactor tests later? |
@chrislopresto - Luke seems to be unresponsive :) Shall we just merge this? |
Whoops, sorry. I'm +1. Don't let the perfect be the enemy of the good! |
Thanks @danwenzel! |
Adds acceptance tests and a property assertion/test for freestyle dynamic