open-nomad/ui/tests/pages/allocations/task/fs.js
2019-06-20 15:20:15 -07:00

13 lines
340 B
JavaScript

import { create, isPresent, text, visitable } from 'ember-cli-page-object';
export default create({
visit: visitable('/allocations/:id/:name/fs'),
hasFiles: isPresent('[data-test-file-explorer]'),
hasEmptyState: isPresent('[data-test-not-running]'),
emptyState: {
headline: text('[data-test-not-running-headline]'),
},
});