Donnie Tognazzini

Results 10 issues of Donnie Tognazzini

I'm using p2 physics to implement a game in Phaser whereby the user stacks objects by dragging and dropping them with the mouse. All draggable bodies are dynamic. There 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...

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...

enhancement

Currently there are some issues with using `ElementProxy` with RSpec expectations. See #123 for details. Add tests suites to ensure RSpec support.

enhancement

`ElementProxy` [undefs a bunch of standard methods](https://github.com/appfolio/ae_page_objects/blob/135ddadd8c045833253b1c67ddaabb01f540832e/lib/ae_page_objects/element_proxy.rb#L4-L10) on objects: ``` ruby # Remove all instance methods so even things like class() # get handled by method_missing(). instance_methods.each do |m| unless...

enhancement

`AePageObjects::Form` and the DSL method `form_for()` are used like so: ``` ruby form_for :login do element :email element :password end ``` This is similar to using the `element` DSL method,...

enhancement

**Non-scoped elements** The element DSL should support arguments specifying that the element being declared should use the same underlying node as its parent. Perhaps: ``` ruby element :login, locator: :parent...

enhancement

**Provide mechanism for manipulating default locator** The DSL should provide a mechanism for wrapping a collection of elements with a name that will be included in `Element#__full_name__` Perhaps: ``` ruby...

enhancement

With the addition of `window.change_to` and `browser.find_document` the standard pattern for command methods is like so: ``` ruby def save! node.click_button('Submit') window.change_to(ResultantPage) end ``` The above pattern says that the...

enhancement

Some functionality depends on Selenium::WebDriver. Make any driver specific support conditional on the driver. Add tests and dependencies for supported drivers.

enhancement