2020-04-02 22:52:44 +00:00
|
|
|
import { clickable, collection, isPresent, text } from 'ember-cli-page-object';
|
|
|
|
|
|
|
|
export default () => ({
|
2021-12-28 16:08:12 +00:00
|
|
|
isPresent: isPresent(
|
|
|
|
'[data-test-page-size-select-parent] .ember-power-select-trigger'
|
|
|
|
),
|
|
|
|
open: clickable(
|
|
|
|
'[data-test-page-size-select-parent] .ember-power-select-trigger'
|
|
|
|
),
|
|
|
|
selectedOption: text(
|
|
|
|
'[data-test-page-size-select-parent] .ember-power-select-selected-item'
|
|
|
|
),
|
2020-04-02 22:52:44 +00:00
|
|
|
options: collection('.ember-power-select-option', {
|
|
|
|
testContainer: '#ember-testing',
|
|
|
|
resetScope: true,
|
|
|
|
label: text(),
|
|
|
|
}),
|
|
|
|
});
|