open-nomad/ui/tests/pages/jobs/job/versions.js
2018-11-05 15:42:04 -08:00

16 lines
411 B
JavaScript

import { create, collection, text, visitable } from 'ember-cli-page-object';
import error from 'nomad-ui/tests/pages/components/error';
export default create({
visit: visitable('/jobs/:id/versions'),
versions: collection('[data-test-version]', {
text: text(),
stability: text('[data-test-version-stability]'),
submitTime: text('[data-test-version-submit-time]'),
}),
error: error(),
});