open-vault/ui/tests/pages/components/radial-progress.js
Hamid Ghaf 27bb03bbc0
adding copyright header (#19555)
* adding copyright header

* fix fmt and a test
2023-03-15 09:00:52 -07:00

19 lines
670 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { attribute } from 'ember-cli-page-object';
export default {
viewBox: attribute('viewBox', '[data-test-radial-progress]'),
height: attribute('height', '[data-test-radial-progress]'),
width: attribute('width', '[data-test-radial-progress]'),
cx: attribute('cx', '[data-test-path]'),
cy: attribute('cy', '[data-test-path]'),
r: attribute('r', '[data-test-path]'),
strokeWidth: attribute('stroke-width', '[data-test-path]'),
strokeDash: attribute('stroke-dasharray', '[data-test-progress]'),
strokeDashOffset: attribute('stroke-dashoffset', '[data-test-progress]'),
};