29a85fa1c5
* change the story blueprint so that using -ir will generate a story in the expected place for in-repo addons and engines * update gen-story-md script to do output md to stories folder inside of in-repo addons and engines * update storybook config to look for story files in /lib * add story for list-view component * add list view page object * add kmip page objects and tests * update storybook commands in the README * split tests up more * update var name in storybook
15 lines
659 B
JavaScript
15 lines
659 B
JavaScript
import { create, clickable, fillable, visitable } from 'ember-cli-page-object';
|
|
import ListView from 'vault/tests/pages/components/list-view';
|
|
|
|
export default create({
|
|
...ListView,
|
|
visit: visitable('/vault/secrets/:backend/kmip/scopes'),
|
|
visitCreate: visitable('/vault/secrets/:backend/kmip/scopes/create'),
|
|
createLink: clickable('[data-test-scope-create]'),
|
|
scopeName: fillable('[data-test-input="name"]'),
|
|
submit: clickable('[data-test-edit-form-submit]'),
|
|
configurationLink: clickable('[data-test-kmip-link-config]'),
|
|
configureLink: clickable('[data-test-kmip-link-configure]'),
|
|
scopesLink: clickable('[data-test-kmip-link-scopes]'),
|
|
});
|