9 lines
278 B
JavaScript
9 lines
278 B
JavaScript
|
export default (collection, clickable, attribute, deletable) => () => {
|
||
|
return collection('.consul-kv-list [data-test-tabular-row]', {
|
||
|
name: attribute('data-test-kv', '[data-test-kv]'),
|
||
|
kv: clickable('a'),
|
||
|
actions: clickable('label'),
|
||
|
...deletable(),
|
||
|
});
|
||
|
};
|