open-consul/ui-v2/tests/pages/dc/acls/edit.js

12 lines
322 B
JavaScript
Raw Normal View History

export default function(visitable, submitable, deletable, cancelable, clickable) {
2018-07-04 14:06:20 +00:00
return submitable(
cancelable(
deletable({
visit: visitable(['/:dc/acls/:acl', '/:dc/acls/create']),
use: clickable('[data-test-use]'),
confirmUse: clickable('button.type-delete'),
})
)
2018-07-04 14:06:20 +00:00
);
}