Releases: san650/ember-cli-page-object
Fix using collections in reusable components
This release fixes an issue when using the .collection
attribute in reusable components
Project Update
npm install --save-dev ember-cli-page-object@0.3.1
Main changes
List of main changes
- Make collection definition immutable
Community contributions
#15 Make collection definition immutable (@juanazam)
#14 Define attributes without a selector if the page has an scope defined (@juanazam)
Scopes
The main change of this release is the definition of how scopes are inherited in components and collections. This makes easier to create custom components.
Project Update
npm install --save-dev ember-cli-page-object@0.3.0
Main changes
List of main changes
- Add
index
option to all attributes - Components inherit scope by default (see #11)
- Collection components inherit scope by default (see #11)
Community contributions
Marvin the Paranoid Android
The main change of this release is the addition of a new attribute .clickOnText
which creates an action to click on an element by text.
Project Update
npm install --save-dev ember-cli-page-object@0.2.0
Main changes
List of main changes
Community contributions
#4 Restructure attributes
#8 Add click on text helper
#10 Plain object as component
Building community!
This release prevents PageObject helpers to be included in the production build. This release is not backward compatible.
Project Update
npm install --save-dev ember-cli-page-object@0.1.0
Important: You need to change the import instruction in your tests files from
import PO from 'page-object';
To
import PO from '../page-object';
The previous example assumes that your test file is one level deep under tests/
folder. i.e. tests/unit/my-unit-test.js
.
Main changes
- Move code from
addon/
totest-support/
folder - Fix
attribute
helper - Fix
count
helper to return zero when there's no match
Special thanks to @williamsbdev
We're live!
This versions adds the base functionality to easily implement the page-object pattern in your acceptance tests.
Installation
npm install --save-dev ember-cli-page-object