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

11 lines
281 B
JavaScript

export default function(visitable, clickable, attribute, collection, filter) {
return {
visit: visitable('/:dc/nodes'),
nodes: collection('[data-test-node]', {
name: attribute('data-test-node'),
node: clickable('header a'),
}),
filter: filter,
};
}