consul/ui-v2/tests/pages/dc/kv/index.js

14 lines
345 B
JavaScript
Raw Normal View History

2018-07-04 14:06:20 +00:00
export default function(visitable, deletable, clickable, attribute, collection) {
return {
visit: visitable('/:dc/kv'),
kvs: collection(
'[data-test-tabular-row]',
deletable({
name: attribute('data-test-kv', '[data-test-kv]'),
kv: clickable('a'),
actions: clickable('label'),
})
),
};
}