2018-11-06 00:06:08 +00:00
|
|
|
import { create, isPresent, visitable, clickable } from 'ember-cli-page-object';
|
2018-08-23 17:26:20 +00:00
|
|
|
|
|
|
|
import jobEditor from 'nomad-ui/tests/pages/components/job-editor';
|
2018-11-05 23:42:04 +00:00
|
|
|
import error from 'nomad-ui/tests/pages/components/error';
|
2018-07-11 02:33:22 +00:00
|
|
|
|
|
|
|
export default create({
|
|
|
|
visit: visitable('/jobs/:id/definition'),
|
|
|
|
|
|
|
|
jsonViewer: isPresent('[data-test-definition-view]'),
|
2018-08-23 17:26:20 +00:00
|
|
|
editor: jobEditor(),
|
|
|
|
|
|
|
|
edit: clickable('[data-test-edit-job]'),
|
2018-11-05 23:20:31 +00:00
|
|
|
|
2018-11-05 23:42:04 +00:00
|
|
|
error: error(),
|
2018-07-11 02:33:22 +00:00
|
|
|
});
|