Skip to content

Commit

Permalink
Fixed test issue
Browse files Browse the repository at this point in the history
  • Loading branch information
YulNaumenko committed Mar 14, 2020
1 parent 05c0ca9 commit 680eb60
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ describe('WebhookActionConnectorFields renders', () => {
expect(wrapper.find('[data-test-subj="webhookUrlText"]').length > 0).toBeTruthy();
expect(wrapper.find('[data-test-subj="webhookUserInput"]').length > 0).toBeTruthy();
expect(wrapper.find('[data-test-subj="webhookPasswordInput"]').length > 0).toBeTruthy();
expect(wrapper.find('[data-test-subj="webhookAddVariableButton"]').length > 0).toBeTruthy();
});
});

Expand Down Expand Up @@ -161,6 +160,7 @@ describe('WebhookParamsFields renders', () => {
.first()
.prop('value')
).toStrictEqual('test message');
expect(wrapper.find('[data-test-subj="webhookAddVariableButton"]').length > 0).toBeTruthy();
});

test('params validation fails when body is not valid', () => {
Expand Down

0 comments on commit 680eb60

Please sign in to comment.