mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-17 20:17:00 +02:00
29 lines
855 B
JavaScript
29 lines
855 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
*/
|
|
|
|
import { text, isPresent, collection, clickable } from 'ember-cli-page-object';
|
|
|
|
export default {
|
|
isEmpty: isPresent('[data-test-component="empty-state"]'),
|
|
listItemLinks: collection('[data-test-list-item-link]', {
|
|
text: text(),
|
|
click: clickable(),
|
|
menuToggle: clickable('[data-test-popup-menu-trigger]'),
|
|
}),
|
|
listItems: collection('[data-test-list-item]', {
|
|
text: text(),
|
|
menuToggle: clickable('[data-test-popup-menu-trigger]'),
|
|
}),
|
|
menuItems: collection('.ember-basic-dropdown-content li', {
|
|
testContainer: '#ember-testing',
|
|
}),
|
|
delete: clickable('[data-test-confirm-action-trigger]', {
|
|
testContainer: '#ember-testing',
|
|
}),
|
|
confirmDelete: clickable('[data-test-confirm-button]', {
|
|
testContainer: '#ember-testing',
|
|
}),
|
|
};
|