open-nomad/ui/tests/pages/components/topo-viz.js
2022-01-20 09:54:56 -05:00

17 lines
428 B
JavaScript

import { collection, isPresent } from 'ember-cli-page-object';
import TopoVizDatacenter from './topo-viz/datacenter';
export default (scope) => ({
scope,
datacenters: collection(
'[data-test-topo-viz-datacenter]',
TopoVizDatacenter()
),
allocationAssociationsArePresent: isPresent(
'[data-test-allocation-associations]'
),
allocationAssociations: collection('[data-test-allocation-association]'),
});