consul/ui/packages/consul-ui/tests/pages/dc/intentions/edit.js

26 lines
501 B
JavaScript
Raw Normal View History

export default function(
visitable,
clickable,
submitable,
deletable,
cancelable,
permissionsForm,
permissionsList
) {
return {
scope: 'main',
visit: visitable(['/:dc/intentions/:intention', '/:dc/intentions/create']),
permissions: {
create: {
scope: '[data-test-create-permission]',
click: clickable(),
},
form: permissionsForm(),
list: permissionsList(),
},
...submitable(),
...cancelable(),
...deletable(),
};
2018-07-04 14:06:20 +00:00
}