open-nomad/ui/tests/pages/components/topo-viz.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
428 B
JavaScript
Raw Normal View History

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) => ({
scope,
2021-12-28 16:08:12 +00:00
datacenters: collection(
'[data-test-topo-viz-datacenter]',
TopoVizDatacenter()
),
2021-12-28 16:08:12 +00:00
allocationAssociationsArePresent: isPresent(
'[data-test-allocation-associations]'
),
allocationAssociations: collection('[data-test-allocation-association]'),
});