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

12 lines
533 B
JavaScript

import { create, clickable, collection, contains, visitable } from 'ember-cli-page-object';
import flashMessage from 'vault/tests/pages/components/flash-message';
import infoTableRow from 'vault/tests/pages/components/info-table-row';
export default create({
visit: visitable('/vault/access/identity/:item_type/:item_id'),
flashMessage,
nameContains: contains('[data-test-identity-item-name]'),
rows: collection('[data-test-component="info-table-row"]', infoTableRow),
edit: clickable('[data-test-entity-edit-link]'),
});