open-vault/ui/tests/pages/policy/edit.js

7 lines
281 B
JavaScript
Raw Normal View History

2018-04-03 14:16:57 +00:00
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]'),
});