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'),
|
2020-09-15 18:46:35 +00:00
|
|
|
visitShow: visitable('/vault/secrets/:backend/show/:id'),
|
2020-09-03 19:44:37 +00:00
|
|
|
visitCreate: visitable('/vault/secrets/:backend/create'),
|
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"]'),
|
|
|
|
submit: clickable('[data-test-transform-create]'),
|
|
|
|
type: fillable('[data-test-input="type"'),
|
|
|
|
tweakSource: fillable('[data-test-input="tweak_source"'),
|
|
|
|
maskingChar: fillable('[data-test-input="masking_character"'),
|
2021-12-17 03:44:29 +00:00
|
|
|
save: clickable('[data-test-transformation-save-button]'),
|
2020-09-03 19:44:37 +00:00
|
|
|
});
|