Ember Page Objects
Represent the screens of your web app as a series of objects. This ember-cli addon eases the construction of these objects on your acceptance tests.
http://ember-cli-page-object.js.org/
What is a Page Object?
An excerpt from the Selenium Wiki
Within your web app's UI there are areas that your tests interact with. A Page Object simply models these as objects within the test code. This reduces the amount of duplicated code and means that if the UI changes, the fix need only be applied in one place.
The pattern was first introduced by the Selenium
You can find more information about this design pattern here:
Documentation
Check the site for full documentation.
Installation
ember install ember-cli-page-objectBlueprints
The addon includes the following blueprints
page-objectCreates a new page objectpage-object-componentCreates a new component to be used in a page objectpage-object-helperCreates a new helper to be used in a page object
You can create a new page object called users using the generate command
$ ember generate page-object users
installing
create tests/pages/users.jsDevelopment
Installation
$ git clone https://github.com/san650/ember-cli-page-object.git
$ cd $_
$ npm install
$ bower installRunning Tests
npm test(Runsember try:testallto test your addon against multiple Ember versions)ember testember test --server
Project's health
License
ember-cli-page-object is licensed under the MIT license.
See LICENSE for the full license text.