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

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

15 lines
335 B
JavaScript
Raw Normal View History

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
2020-10-14 07:54:39 +00:00
import { collection, text } from 'ember-cli-page-object';
import TopoVizNode from './node';
2021-12-28 14:45:20 +00:00
export default (scope) => ({
2020-10-14 07:54:39 +00:00
scope,
label: text('[data-test-topo-viz-datacenter-label]'),
nodes: collection('[data-test-topo-viz-node]', TopoVizNode()),
});