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

11 lines
281 B
JavaScript
Raw Normal View History

2018-07-04 14:06:20 +00:00
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,
};
}