2020-10-15 09:18:55 +00:00
|
|
|
import { collection, isPresent } from 'ember-cli-page-object';
|
|
|
|
import TopoVizDatacenter from './topo-viz/datacenter';
|
|
|
|
|
2021-12-28 14:45:20 +00:00
|
|
|
export default (scope) => ({
|
2020-10-15 09:18:55 +00:00
|
|
|
scope,
|
|
|
|
|
2021-12-28 16:08:12 +00:00
|
|
|
datacenters: collection(
|
|
|
|
'[data-test-topo-viz-datacenter]',
|
|
|
|
TopoVizDatacenter()
|
|
|
|
),
|
2020-10-15 09:18:55 +00:00
|
|
|
|
2021-12-28 16:08:12 +00:00
|
|
|
allocationAssociationsArePresent: isPresent(
|
|
|
|
'[data-test-allocation-associations]'
|
|
|
|
),
|
2020-10-15 09:18:55 +00:00
|
|
|
allocationAssociations: collection('[data-test-allocation-association]'),
|
|
|
|
});
|