Skip to content

Commit 10767b2

Browse files
committed
added component integration test for default value in frequency
1 parent fc9831c commit 10767b2

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

x-pack/plugins/rollup/public/test/client_integration/job_create_logistics.test.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,11 @@ describe('Create Rollup Job, step 1: Logistics', () => {
181181
expect(options).toEqual(['minute', 'hour', 'day', 'week', 'month', 'year']);
182182
});
183183

184+
it('should default to "WEEK"', () => {
185+
const frequencySelect = find('cronFrequencySelect');
186+
expect(frequencySelect.props().value).toBe('WEEK');
187+
});
188+
184189
describe('every minute', () => {
185190
it('should not have any additional configuration', () => {
186191
changeFrequency('MINUTE');

0 commit comments

Comments
 (0)