Skip to content

R.O.T.O.R.

Choose a tag to compare

@san650 san650 released this 16 Aug 01:24

We continue our effort to standardize the way we structure the page objects, components and helpers. Having clear conventions on where to put each file allows us to automate the creation of the files and the creation of more intelligent helpers that know where to look for page objects, components and helpers #23.

Thanks to @juanazam this release includes two new generators, one for creating page-object-components and another for creating page-object-helpers.

Now you can generate a new page object components as follows

$ ember generate page-object-component navbar

installing
  create tests/pages/components/navbar.js

and a page object helpers as follows

$ ember generate page-object-component mouse-hover

installing
  create tests/pages/helpers/mouse-hover.js

Project Update

npm install --save-dev ember-cli-page-object@0.7.0

Main changes

List of main changes

  • page-object-component blueprint
  • page-object-helper blueprint

Community contributions

#35 Generators (@juanazam)
#46 fix example for isHidden (@csantero)
#47 Update to ember cli 1.13.8