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

10 lines
278 B
JavaScript

export default function(visitable, submitable, deletable, clickable) {
return submitable(
deletable({
visit: visitable(['/:dc/acls/:acl', '/:dc/acls/create']),
use: clickable('[data-test-use]'),
confirmUse: clickable('button.type-delete'),
})
);
}