open-vault/ui/tests/pages/components/control-group.js
Matthew Irish 9953eb76aa
UI - control groups (#4947)
* add routes for control groups in tools, settings, access (#4718)
* UI control group - storage, request, authorization, and unwrapping (#4899)
* UI control groups config (#4927)
2018-07-18 20:59:04 -05:00

20 lines
857 B
JavaScript

import { isPresent, clickable, text } from 'ember-cli-page-object';
export default {
showsAccessorCallout: isPresent('[data-test-accessor-callout]'),
authorizationText: text('[data-test-authorizations]'),
bannerPrefix: text('[data-test-banner-prefix]'),
bannerText: text('[data-test-banner-text]'),
requestorText: text('[data-test-requestor-text]'),
showsTokenText: isPresent('[data-test-token]'),
refresh: clickable('[data-test-refresh-button]'),
authorize: clickable('[data-test-authorize-button]'),
showsSuccessComponent: isPresent('[data-test-control-group-success]'),
accessor: text('[data-test-accessor-value]'),
token: text('[data-test-token-value]'),
showsRefresh: isPresent('[data-test-refresh-button]'),
showsAuthorize: isPresent('[data-test-authorize-button]'),
showsBackLink: isPresent('[data-test-back-link]'),
};