-
Notifications
You must be signed in to change notification settings - Fork 28
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
Switch from ItemProvider to custom builders. #175
Conversation
Regarding |
Regarding |
Reading the examples now, I see that the scenario I originally mentioned is not meant to be supported, what we support is a page object to have a provided item as a dependency, not an item from a different page object. That makes sense, and makes things simpler 🎉 |
Regarding In the first assert block we request But when in the second assert we request So if we want to keep the old behavior we need to add some checks to andi and I'm not sure what should they check to know that if |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #175 +/- ##
==========================================
- Coverage 85.97% 85.11% -0.86%
==========================================
Files 14 14
Lines 827 786 -41
==========================================
- Hits 711 669 -42
- Misses 116 117 +1
|
Needs scrapinghub/andi#27
TODO:
test_page_object_returning_item_which_is_also_a_dep_2()
.prev_instances
code?