open-vault/ui/tests/pages/secrets/backend/transform/alphabets.js
Chelsea Shaw 2289c9ef1d
CRUD for transform alphabets (#9989)
includes tests for templates and alphabets
2020-09-21 15:36:07 -05:00

14 lines
614 B
JavaScript

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=alphabet'),
visitCreate: visitable('/vault/secrets/:backend/create?itemType=alphabet'),
createLink: clickable('[data-test-secret-create="true"]'),
editLink: clickable('[data-test-edit-link="true"]'),
name: fillable('[data-test-input="name"]'),
alphabet: fillable('[data-test-input="alphabet"'),
submit: clickable('[data-test-alphabet-transform-create="true"]'),
});