open-vault/ui/tests/pages/policy/edit.js
2018-04-03 09:16:57 -05:00

7 lines
281 B
JavaScript

import { clickable, create, isPresent, visitable } from 'ember-cli-page-object';
export default create({
visit: visitable('/vault/policy/:type/:name/edit'),
deleteIsPresent: isPresent('[data-test-policy-delete]'),
toggleEdit: clickable('[data-test-policy-edit-toggle]'),
});