14 lines
588 B
JavaScript
14 lines
588 B
JavaScript
|
import { create, clickable, text, visitable, collection } from 'ember-cli-page-object';
|
||
|
import flashMessage from 'vault/tests/pages/components/flash-message';
|
||
|
|
||
|
export default create({
|
||
|
visit: visitable('/vault/access/identity/:item_type/aliases'),
|
||
|
flashMessage,
|
||
|
items: collection('[data-test-identity-row]', {
|
||
|
menu: clickable('[data-test-popup-menu-trigger]'),
|
||
|
id: text('[data-test-identity-link]'),
|
||
|
}),
|
||
|
delete: clickable('[data-test-item-delete] [data-test-confirm-action-trigger]'),
|
||
|
confirmDelete: clickable('[data-test-item-delete] [data-test-confirm-button]'),
|
||
|
});
|