|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
import { create, visitable, collection, attribute } from 'ember-cli-page-object'; |
|
|
|
|
import { create, visitable, collection, attribute, text } from 'ember-cli-page-object'; |
|
|
|
|
import filter from 'consul-ui/tests/pages/components/catalog-filter'; |
|
|
|
|
|
|
|
|
|
export default create({ |
|
|
|
@ -6,5 +6,13 @@ export default create({
|
|
|
|
|
nodes: collection('[data-test-node]', { |
|
|
|
|
name: attribute('data-test-node'), |
|
|
|
|
}), |
|
|
|
|
healthy: collection('[data-test-healthy] [data-test-node]', { |
|
|
|
|
name: attribute('data-test-node'), |
|
|
|
|
address: text('header strong'), |
|
|
|
|
}), |
|
|
|
|
unhealthy: collection('[data-test-unhealthy] [data-test-node]', { |
|
|
|
|
name: attribute('data-test-node'), |
|
|
|
|
address: text('header strong'), |
|
|
|
|
}), |
|
|
|
|
filter: filter, |
|
|
|
|
}); |
|
|
|
|