2018-04-03 14:16:57 +00:00
|
|
|
import { clickable, fillable, text, isPresent } from 'ember-cli-page-object';
|
|
|
|
import fields from './form-field';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
...fields,
|
|
|
|
scope: '.config-pki',
|
|
|
|
text: text('[data-test-text]'),
|
|
|
|
title: text('[data-test-title]'),
|
|
|
|
hasTitle: isPresent('[data-test-title]'),
|
|
|
|
hasError: isPresent('[data-test-error]'),
|
|
|
|
submit: clickable('[data-test-submit]'),
|
2020-04-20 15:17:50 +00:00
|
|
|
enableTtl: clickable('[data-test-toggle-input]'),
|
2019-08-01 21:35:18 +00:00
|
|
|
fillInValue: fillable('[data-test-ttl-value]'),
|
|
|
|
fillInUnit: fillable('[data-test-select="ttl-unit"]'),
|
2018-04-03 14:16:57 +00:00
|
|
|
};
|