open-vault/ui/tests/pages/components/mount-backend-form.js

15 lines
488 B
JavaScript
Raw Normal View History

2018-04-03 14:16:57 +00:00
import { clickable, fillable, text, value } from 'ember-cli-page-object';
import fields from './form-field';
import errorText from './message-in-page';
export default {
...fields,
...errorText,
header: text('[data-test-mount-form-header]'),
submit: clickable('[data-test-mount-submit]'),
path: fillable('[data-test-input="path"]'),
pathValue: value('[data-test-input="path"]'),
type: fillable('[data-test-input="type"]'),
typeValue: value('[data-test-input="type"]'),
};