Skip to content

Commit 680eb60

Browse files
committed
Fixed test issue
1 parent 05c0ca9 commit 680eb60

File tree

1 file changed

+1
-1
lines changed
  • x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types

1 file changed

+1
-1
lines changed

x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/webhook.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ describe('WebhookActionConnectorFields renders', () => {
130130
expect(wrapper.find('[data-test-subj="webhookUrlText"]').length > 0).toBeTruthy();
131131
expect(wrapper.find('[data-test-subj="webhookUserInput"]').length > 0).toBeTruthy();
132132
expect(wrapper.find('[data-test-subj="webhookPasswordInput"]').length > 0).toBeTruthy();
133-
expect(wrapper.find('[data-test-subj="webhookAddVariableButton"]').length > 0).toBeTruthy();
134133
});
135134
});
136135

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

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

0 commit comments

Comments
 (0)