2021-01-25 18:13:54 +00:00
|
|
|
export default function(visitable, deletable, creatable, clickable, attribute, collection) {
|
2018-07-04 16:23:33 +00:00
|
|
|
return creatable({
|
2018-07-04 14:06:20 +00:00
|
|
|
visit: visitable('/:dc/acls'),
|
|
|
|
acls: collection(
|
|
|
|
'[data-test-tabular-row]',
|
|
|
|
deletable({
|
|
|
|
name: attribute('data-test-acl', '[data-test-acl]'),
|
|
|
|
acl: clickable('a'),
|
|
|
|
actions: clickable('label'),
|
2018-07-04 15:37:41 +00:00
|
|
|
use: clickable('[data-test-use]'),
|
2020-01-22 12:08:29 +00:00
|
|
|
confirmUse: clickable('[data-test-confirm-use]'),
|
2018-07-04 14:06:20 +00:00
|
|
|
})
|
|
|
|
),
|
2018-07-04 16:23:33 +00:00
|
|
|
});
|
2018-07-04 14:06:20 +00:00
|
|
|
}
|