13 lines
472 B
JavaScript
13 lines
472 B
JavaScript
import { clickable, collection, isPresent, text } from 'ember-cli-page-object';
|
|
|
|
export default () => ({
|
|
isPresent: isPresent('[data-test-page-size-select]'),
|
|
open: clickable('[data-test-page-size-select] .ember-power-select-trigger'),
|
|
selectedOption: text('[data-test-page-size-select] .ember-power-select-selected-item'),
|
|
options: collection('.ember-power-select-option', {
|
|
testContainer: '#ember-testing',
|
|
resetScope: true,
|
|
label: text(),
|
|
}),
|
|
});
|