2018-04-17 22:04:34 +00:00
|
|
|
import { collection, clickable, fillable, text, value } from 'ember-cli-page-object';
|
2018-04-05 21:36:33 +00:00
|
|
|
|
|
|
|
export default {
|
2018-04-17 22:04:34 +00:00
|
|
|
tabs: collection('[data-test-auth-method]', {
|
|
|
|
name: text(),
|
|
|
|
link: clickable('[data-test-auth-method-link]'),
|
|
|
|
}),
|
|
|
|
username: fillable('[data-test-username]'),
|
|
|
|
token: fillable('[data-test-token]'),
|
|
|
|
tokenValue: value('[data-test-token]'),
|
|
|
|
password: fillable('[data-test-password]'),
|
2018-04-05 21:36:33 +00:00
|
|
|
errorText: text('[data-test-auth-error]'),
|
|
|
|
login: clickable('[data-test-auth-submit]'),
|
|
|
|
};
|