11 lines
403 B
JavaScript
11 lines
403 B
JavaScript
import { create, clickable, triggerable } from 'ember-cli-page-object';
|
|
import { visitable } from 'consul-ui/tests/lib/page-object/visitable';
|
|
|
|
export default create({
|
|
// custom visitable
|
|
visit: visitable(['/:dc/acls/:acl', '/:dc/acls/create']),
|
|
// fillIn: fillable('input, textarea, [contenteditable]'),
|
|
name: triggerable('keypress', '[name="name"]'),
|
|
submit: clickable('[type=submit]'),
|
|
});
|