mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-18 21:21:06 +02:00
22 lines
678 B
JavaScript
22 lines
678 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
*/
|
|
|
|
import { Base } from '../show';
|
|
import { create, clickable, collection, isPresent } from 'ember-cli-page-object';
|
|
|
|
export default create({
|
|
...Base,
|
|
rows: collection('data-test-row-label'),
|
|
edit: clickable('[data-test-edit-link]'),
|
|
editIsPresent: isPresent('[data-test-edit-link]'),
|
|
generate: clickable('[data-test-backend-credentials]'),
|
|
generateIsPresent: isPresent('[data-test-backend-credentials]'),
|
|
deleteBtn: clickable('[data-test-confirm-action-trigger]'),
|
|
confirmBtn: clickable('[data-test-confirm-button]'),
|
|
deleteRole() {
|
|
return this.deleteBtn().confirmBtn();
|
|
},
|
|
});
|