ae_page_objects
ae_page_objects copied to clipboard
Page Objects for Capybara
Add new clear options to set a value for textareas. By default, in the chrome selenium test, when `set` value of text-related node, it would only prepend the first line....
When `assert_predicate` assertions fail `Minitest` will inspect the target object as part of the error message generation. Currently AePageObjects will pass the `inspect` call on to the `Element` which will...
I hope to test the framework in a cucumber project, how do I disable this route? I have problem in rote, I do not understand this. Do you have one...
This change is due to some flakey tests I found in my project. **In short, it's possible that `DocumentLoader` tries to load an AePageObject document before the AePageObject document is...
2 changes: 1. Node delegates some methods to the underlying Capybara node. These delegations nest `Capybara::ElementNotFound` under `AePageObjects::LoadingElementFailed`. `AePageObjects::LoadingElementFailed` indicates that an `AePageObjects::Element` failed to load. `Capybara::ElementNotFound` indicates that a...
We didn't specify `exact: true` at any other places except for Collection class. For all the others they just use the default value for Capybara setting, which is false. https://github.com/appfolio/ae_page_objects/blob/master/lib/ae_page_objects/elements/collection.rb#L71...
Move all of the Rails specific code out of AePageObjects and into an ae_page_objects-rails gem that declares an explicit dependency on Rails. Use the most recent version of Rails to...
Demo: https://github.com/appfolio/ae_page_objects/commit/033919974ce9c7972d5dcbf04c3d9a6db88398dd **STR** 1. Create a page object document like [this](https://github.com/appfolio/ae_page_objects/commit/033919974ce9c7972d5dcbf04c3d9a6db88398dd#diff-19634c3cb590be8d90820a26ebbd6deaR3) that has 2 paths: 1st path is a valid path, 2nd path does not exist in the app. 2....
The current implementation of `current_url` in aepos is ``` ruby def current_url Capybara.current_session.current_url.sub(/^https?:\/\/[^\/]*/, '') end ``` Maybe ae_page_objects should pass down the full URL which would allow other router implementations...
Currently there are some issues with using `ElementProxy` with RSpec expectations. See #123 for details. Add tests suites to ensure RSpec support.