ember-cli-page-object
This ember-cli addon eases the construction of page objects on your acceptance and integration tests
Last updated a month ago by ro0gr .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ember-cli-page-object 
SYNC missed versions from official npm registry.

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

Linting

  • npm run lint:hbs
  • npm run lint:js
  • npm run lint:js -- --fix

Running Tests

  • ember test – Runs the test suite on the current Ember version
  • ember test --server – Runs the test suite in "watch mode"
  • ember try:each – Runs the test suite against multiple Ember versions

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.

Current Tags

  • 1.15.0-beta.4                                ...           beta (2 years ago)
  • 1.17.3                                ...           latest (a month ago)

59 Versions

  • 1.17.3                                ...           a month ago
  • 1.17.2                                ...           4 months ago
  • 1.16.3                                ...           4 months ago
  • 1.17.1                                ...           4 months ago
  • 1.17.0                                ...           4 months ago
  • 1.16.2                                ...           7 months ago
  • 1.16.1                                ...           9 months ago
  • 1.16.0                                ...           9 months ago
  • 1.15.4                                ...           a year ago
  • 1.15.3                                ...           a year ago
  • 1.15.2                                ...           a year ago
  • 1.15.1                                ...           2 years ago
  • 1.15.0                                ...           2 years ago
  • 1.15.0-beta.4                                ...           2 years ago
  • 1.15.0-beta.3                                ...           2 years ago
  • 1.15.0-beta.2                                ...           2 years ago
  • 1.15.0-beta.1                                ...           2 years ago
  • 1.14.1                                ...           2 years ago
  • 1.14.0                                ...           3 years ago
  • 1.13.0                                ...           3 years ago
  • 1.13.0-alpha.1                                ...           3 years ago
  • 1.12.1                                ...           3 years ago
  • 1.12.0                                ...           3 years ago
  • 1.11.0                                ...           3 years ago
  • 1.10.0                                ...           3 years ago
  • 1.9.0                                ...           3 years ago
  • 1.8.0                                ...           4 years ago
  • 1.7.0                                ...           4 years ago
  • 1.6.0                                ...           4 years ago
  • 1.5.0                                ...           4 years ago
  • 0.11.3                                ...           4 years ago
  • 1.4.2                                ...           4 years ago
  • 1.4.1                                ...           4 years ago
  • 1.4.0                                ...           4 years ago
  • 1.3.0                                ...           4 years ago
  • 1.2.0                                ...           4 years ago
  • 1.1.0                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
  • 1.0.0-beta.1                                ...           5 years ago
  • 0.11.2                                ...           5 years ago
  • 1.0.0-alpha.1                                ...           5 years ago
  • 0.11.1                                ...           5 years ago
  • 0.11.0                                ...           5 years ago
  • 0.10.0                                ...           5 years ago
  • 0.9.0                                ...           5 years ago
  • 0.8.3                                ...           5 years ago
  • 0.8.2                                ...           5 years ago
  • 0.8.1                                ...           5 years ago
  • 0.8.0                                ...           5 years ago
  • 0.7.0                                ...           5 years ago
  • 0.6.0                                ...           5 years ago
  • 0.5.0                                ...           5 years ago
  • 0.4.0                                ...           5 years ago
  • 0.3.1                                ...           5 years ago
  • 0.3.0                                ...           5 years ago
  • 0.2.0                                ...           5 years ago
  • 0.1.0                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
Downloads
Today 0
This Week 1
This Month 12
Last Day 1
Last Week 11
Last Month 153
Dependencies (8)

Copyright 2014 - 2016 © taobao.org |