Skip to content

Releases: san650/ember-cli-page-object

Fix using collections in reusable components

25 May 20:27
Compare
Choose a tag to compare

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

19 May 03:44
Compare
Choose a tag to compare

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

#3 Support indexable selectors (@juanazam)
#12 Fix scopes

Marvin the Paranoid Android

13 May 01:38
Compare
Choose a tag to compare

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

  • Add clickOnText attribute (see #5)
  • Use plain objects as components (see #9)

Community contributions

#4 Restructure attributes
#8 Add click on text helper
#10 Plain object as component

Building community!

06 May 00:47
Compare
Choose a tag to compare

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/ to test-support/ folder
  • Fix attribute helper
  • Fix count helper to return zero when there's no match

Special thanks to @williamsbdev

We're live!

04 May 00:26
Compare
Choose a tag to compare

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