This ember-cli addon eases the construction of page objects on your acceptance and integration tests
san650 Merge pull request #427 from bendemboski/fix-jquery-detection
Fix jQuery detection for ember-cli@3.4
Latest commit 29b689f Oct 8, 2018
Permalink
Failed to load latest commit information.
addon-test-support Remove Ember.Logger usage Sep 13, 2018
blueprints Remove component-test blueprint Nov 17, 2017
config update to ember-cli@3 Feb 24, 2018
guides [doc] Page objects also encapsulate DOM interactions complexity Aug 1, 2018
node-tests
test-support
tests
vendor Clarify relation between shim and bundled jquery Nov 19, 2017
.codeclimate.yml Address codeclimate issues and bug risks Dec 29, 2015
.csslintrc
.editorconfig Migrate to ember-cli@2.9.1 Nov 24, 2016
.ember-cli Add base ember-cli project Apr 19, 2015
.eslintignore Add codeclimate configuration files Dec 29, 2015
.eslintrc Add codeclimate configuration files Dec 29, 2015
.eslintrc.js
.gitignore Migrate to ember-cli@2.9.1 Nov 24, 2016
.jscsrc Add ember-suave May 5, 2016
.npmignore fix eslint errors for docs.js Feb 24, 2018
.travis.yml
.watchmanconfig Update to ember-cli@1.13.12 Nov 29, 2015
AUTHORS
CHANGELOG.md
LICENSE
README.md
docs.js
ember-cli-build.js
index.js Fix jQuery detection for ember-cli@3.4 Oct 5, 2018
package.json 1.15.0-beta.3 May 28, 2018
testem.js

README.md

Ember Page Objects

Build Status Ember Observer Score Latest version

Represent the screens of your web app as a series of objects. This ember-cli addon eases the construction of these objects for your acceptance and integration 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:

Community

Let's work together to improve this addon!

You can find us on the official Ember Discord server, or open an issue on Github to request features, report bugs or just to ask any question.

Installation

$ ember install ember-cli-page-object

Or you can install the NPM package directly.

$ npm install --save-dev ember-cli-page-object

Documentation

Check the site for full documentation.

Blueprints

The addon includes the following blueprints

  • page-object Creates a new page object
  • page-object-component Creates a new component to be used in a page object
  • page-object-helper Creates 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.js

Development

Installation

$ git clone https://github.com/san650/ember-cli-page-object.git
$ cd $_
$ yarn install # or npm install

Running Tests

$ npm test # runs tests against multiple Ember versions and runs node tests
$ ember test --server # for development

Project's health

Build Status Ember Observer Score Dependency Status devDependency Status Codacy Badge Code Climate Coverage Status

Maintainers

  • Santiago Ferreira (@san650)
  • Juan Manuel Azambuja (@juanazam)
  • Jerad Gallinger (@jeradg)
  • Anna Andresian (@magistrula)
  • Ruslan Grabovoy (@ro0gr)

License

ember-cli-page-object is licensed under the MIT license.

See LICENSE for the full license text.