2017-08-11 16:39:36 +02:00
|
|
|
import PageObject from 'ember-cli-page-object';
|
2017-08-26 02:14:09 +02:00
|
|
|
import { definition as Poll } from 'croodle/tests/pages/poll';
|
2017-08-11 16:39:36 +02:00
|
|
|
import { defaultsForApplication } from 'croodle/tests/pages/defaults';
|
|
|
|
|
|
|
|
const { assign } = Object;
|
|
|
|
const {
|
|
|
|
text
|
|
|
|
} = PageObject;
|
|
|
|
|
2017-08-26 02:14:09 +02:00
|
|
|
export default PageObject.create(assign({}, defaultsForApplication, Poll, {
|
2017-08-11 16:39:36 +02:00
|
|
|
preferedOptions: text('.best-options .best-option-value', { multiple: true })
|
|
|
|
}));
|