58a5f17288
* Displays Auth Method description on login page * working on auth login form * Keeps path name as LinkTo label adds description to paths * removes commented and unused code * removes trailing white space * removes prettier package * adds test for description * removes extra white spaces * adds changelog file
17 lines
610 B
JavaScript
17 lines
610 B
JavaScript
import { collection, clickable, fillable, text, value } from 'ember-cli-page-object';
|
|
|
|
export default {
|
|
tabs: collection('[data-test-auth-method]', {
|
|
name: text(),
|
|
link: clickable('[data-test-auth-method-link]'),
|
|
}),
|
|
selectMethod: fillable('[data-test-select=auth-method]'),
|
|
username: fillable('[data-test-username]'),
|
|
token: fillable('[data-test-token]'),
|
|
tokenValue: value('[data-test-token]'),
|
|
password: fillable('[data-test-password]'),
|
|
errorText: text('[data-test-auth-error]'),
|
|
descriptionText: text('[data-test-description]'),
|
|
login: clickable('[data-test-auth-submit]'),
|
|
};
|