open-vault/ui/tests/pages/access/identity/index.js

14 lines
582 B
JavaScript
Raw Normal View History

import { create, clickable, text, visitable, collection } from 'ember-cli-page-object';
import flashMessage from 'vault/tests/pages/components/flash-message';
2018-04-03 14:16:57 +00:00
export default create({
visit: visitable('/vault/access/identity/:item_type'),
flashMessage,
items: collection('[data-test-identity-row]', {
menu: clickable('[data-test-popup-menu-trigger]'),
name: 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]'),
2018-04-03 14:16:57 +00:00
});