| /** |
| * Copyright (c) HashiCorp, Inc. |
| * SPDX-License-Identifier: MPL-2.0 |
| */ |
| |
| import { create, clickable, visitable } from 'ember-cli-page-object'; |
| import ListView from 'vault/tests/pages/components/list-view'; |
| |
| export default create({ |
| ...ListView, |
| visit: visitable('/vault/secrets/:backend/kmip/scopes/:scope/roles/:role/credentials'), |
| visitDetail: visitable('/vault/secrets/:backend/kmip/scopes/:scope/roles/:role/credentials/:serial'), |
| create: clickable('[data-test-role-create]'), |
| generateCredentialsLink: clickable('[data-test-kmip-link-generate-credentials]'), |
| backToRoleLink: clickable('[data-test-kmip-link-back-to-role]'), |
| submit: clickable('[data-test-edit-form-submit]'), |
| }); |