open-vault/ui/tests/pages/components/masked-input.js

11 lines
427 B
JavaScript

import { attribute, clickable, fillable, focusable, blurrable, isPresent } from 'ember-cli-page-object';
export default {
wrapperClass: attribute('class','[data-test-masked-input]'),
enterText: fillable('[data-test-textarea]'),
textareaIsPresent: isPresent('[data-test-textarea]'),
toggleMasked: clickable('[data-test-button]'),
focus: focusable('[data-test-textarea]'),
blur: blurrable('[data-test-textarea]')
};