mirror of https://github.com/status-im/consul.git
17 lines
532 B
JavaScript
17 lines
532 B
JavaScript
export default function(visitable, clickable, attribute, collection, page, filter) {
|
|
return {
|
|
visit: visitable('/:dc/services'),
|
|
services: collection('[data-test-service]', {
|
|
name: attribute('data-test-service'),
|
|
service: clickable('a'),
|
|
externalSource: attribute('data-test-external-source', 'a span'),
|
|
}),
|
|
dcs: collection('[data-test-datacenter-picker]', {
|
|
name: clickable('a'),
|
|
}),
|
|
navigation: page.navigation,
|
|
filter: filter,
|
|
home: clickable('[data-test-home]'),
|
|
};
|
|
}
|