github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/ui/tests/pages/components/topo-viz.js (about)

     1  import { collection, isPresent } from 'ember-cli-page-object';
     2  import TopoVizDatacenter from './topo-viz/datacenter';
     3  
     4  export default (scope) => ({
     5    scope,
     6  
     7    datacenters: collection(
     8      '[data-test-topo-viz-datacenter]',
     9      TopoVizDatacenter()
    10    ),
    11  
    12    allocationAssociationsArePresent: isPresent(
    13      '[data-test-allocation-associations]'
    14    ),
    15    allocationAssociations: collection('[data-test-allocation-association]'),
    16  });