| ... | ... | @@ -105,7 +105,7 @@ describe('Empty State', () => { |
|
|
|
});
|
|
|
|
|
|
|
|
describe('with playbale action and not scheduled job', () => {
|
|
|
|
it('renders manual variables form', () => {
|
|
|
|
beforeEach(() => {
|
|
|
|
vm = mountComponent(Component, {
|
|
|
|
...props,
|
|
|
|
content,
|
| ... | ... | @@ -117,9 +117,15 @@ describe('Empty State', () => { |
|
|
|
method: 'post',
|
|
|
|
},
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
it('renders manual variables form', () => {
|
|
|
|
expect(vm.$el.querySelector('.js-manual-vars-form')).not.toBeNull();
|
|
|
|
});
|
|
|
|
|
|
|
|
it('does not render the empty state action', () => {
|
|
|
|
expect(vm.$el.querySelector('.js-job-empty-state-action')).toBeNull();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
describe('with playbale action and scheduled job', () => {
|
| ... | ... | |
| ... | ... | |