2022-03-18 23:47:42 +00:00
|
|
|
import { collection, clickable, fillable, text, value, isPresent } 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]'),
|
|
|
|
}),
|
2019-08-01 21:35:18 +00:00
|
|
|
selectMethod: fillable('[data-test-select=auth-method]'),
|
2018-04-17 22:04:34 +00:00
|
|
|
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]'),
|
2022-03-18 23:47:42 +00:00
|
|
|
errorMessagePresent: isPresent('[data-test-auth-error]'),
|
2021-06-14 20:03:49 +00:00
|
|
|
descriptionText: text('[data-test-description]'),
|
2018-04-05 21:36:33 +00:00
|
|
|
login: clickable('[data-test-auth-submit]'),
|
|
|
|
};
|