2020-09-03 19:44:37 +00:00
|
|
|
import { create, clickable, fillable, visitable } from 'ember-cli-page-object';
|
|
|
|
import ListView from 'vault/tests/pages/components/list-view';
|
|
|
|
|
|
|
|
export default create({
|
|
|
|
...ListView,
|
|
|
|
visit: visitable('/vault/secrets/:backend/list?tab=roles'),
|
|
|
|
visitCreate: visitable('/vault/secrets/:backend/create?itemType=role'),
|
2021-12-17 03:44:29 +00:00
|
|
|
createLink: clickable('[data-test-secret-create]'),
|
2020-09-03 19:44:37 +00:00
|
|
|
name: fillable('[data-test-input="name"]'),
|
|
|
|
transformations: fillable('[data-test-input="transformations"'),
|
2021-12-17 03:44:29 +00:00
|
|
|
submit: clickable('[data-test-role-transform-create]'),
|
2020-09-15 18:46:35 +00:00
|
|
|
modalConfirm: clickable('[data-test-edit-confirm-button]'),
|
2020-09-03 19:44:37 +00:00
|
|
|
});
|