Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.17] [Maps] Update [email protected] #188121

Merged
merged 1 commit into from
Jul 12, 2024

Update [email protected]

ececa4b
Select commit
Loading
Failed to load commit list.
Merged

[7.17] [Maps] Update [email protected] #188121

Update [email protected]
ececa4b
Select commit
Loading
Failed to load commit list.
checks-reporter / Jest Unit Tests 1 succeeded Jul 11, 2024 in 26m 27s

.buildkite/scripts/steps/test/jest_parallel.sh jest.config.js

Details

[truncated]
dit.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/server/data/lib/date_range_info.test.ts (15.11 s)
 PASS  x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_errors.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_flyout.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_type_form.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/servicenow/servicenow_itom_params.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_query.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/swimlane/swimlane.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/lib/alert_api/rules.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/servicenow/update_connector.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_notify_when.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/has_alert_changed.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/es_index/es_index_params.test.tsx
  ● Console

    console.warn
      [EUI] - DEPRECATION: `EuiCodeEditor` is deprecated and will be removed in a future release.
      See https://ela.st/euicodeeditor for migration options.

      41 |       documents: undefined,
      42 |     };
    > 43 |     const wrapper = mountWithIntl(
         |                                  ^
      44 |       <ParamsFields
      45 |         actionParams={actionParams}
      46 |         errors={{ index: [] }}

      at warnOnce (node_modules/@elastic/eui/test-env/services/console/warn_once.js:20:13)
      at new EuiCodeEditor (node_modules/@elastic/eui/test-env/components/code_editor/code_editor.js:140:28)
      at constructClassInstance (node_modules/react-dom/cjs/react-dom.development.js:12880:18)
      at updateClassComponent (node_modules/react-dom/cjs/react-dom.development.js:17100:5)
      at beginWork (node_modules/react-dom/cjs/react-dom.development.js:18620:16)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:23179:14)
      at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:22157:12)
      at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:22130:22)
      at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:21756:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21188:7)
      at updateContainer (node_modules/react-dom/cjs/react-dom.development.js:24373:3)
      at node_modules/react-dom/cjs/react-dom.development.js:24758:7
      at unbatchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:21903:12)
      at legacyRenderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.development.js:24757:5)
      at Object.render (node_modules/react-dom/cjs/react-dom.development.js:24840:10)
      at render (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:488:26)
      at fn (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:405:37)
      at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:21856:12)
      at Object.act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:929:14)
      at act (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:405:13)
      at Object.wrapAct [as render] (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:474:16)
      at new render (node_modules/enzyme/src/ReactWrapper.js:115:16)
      at mount (node_modules/enzyme/src/mount.js:10:10)
      at mountWithIntl (node_modules/@kbn/test/target_node/jest/utils/enzyme_helpers.js:91:28)
      at Object.<anonymous> (x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/es_index/es_index_params.test.tsx:43:34)

 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/swimlane/use_get_application.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/lib/alert_api/aggregate.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/resilient/resilient_connectors.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/jira/jira_connectors.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/lib/alert_type_compare.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.test.tsx
  ● Console

    console.error
      Warning: An update to TestConnectorForm inside a test was not wrapped in act(...).
      
      When testing, code that causes React state updates should be wrapped into act(...):
      
      act(() => {
        /* fire events that update state */
      });
      /* assert on the output */
      
      This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
          in TestConnectorForm
          in PseudoLocaleWrapper (created by I18nProvider)
          in IntlProvider (created by I18nProvider)
          in I18nProvider (created by WrapperComponent)
          in WrapperComponent

      55 |     (async () => {
      56 |       const res = (await actionTypeModel?.validateParams(actionParams)).errors as IErrorObject;
    > 57 |       setActionErrors({ ...res });
         |       ^
      58 |       setHasErrors(!!Object.values(res).find((errors) => errors.length > 0));
      59 |     })();
      60 |   }, [actionTypeModel, actionParams]);

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
      at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
      at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
      at setActionErrors (x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.tsx:57:7)

    console.error
      Warning: Failed prop type: You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.
          in select (created by EuiValidatableControl)
          in EuiValidatableControl (created by EuiSelect)
          in div (created by EuiFormControlLayout)
          in div (created by EuiFormControlLayout)
          in EuiFormControlLayout (created by EuiSelect)
          in EuiSelect (created by default)
          in div (created by EuiFormRow)
          in div (created by EuiFormRow)
          in EuiFormRow (created by default)
          in form (created by EuiForm)
          in EuiForm (created by default)
          in default (created by TestConnectorForm)
          in Suspense (created by TestConnectorForm)
          in EuiErrorBoundary (created by TestConnectorForm)
          in div (created by EuiStep)
          in div (created by EuiStep)
          in EuiStep (created by EuiSteps)
          in div (created by EuiSteps)
          in EuiSteps (created by TestConnectorForm)
          in TestConnectorForm
          in PseudoLocaleWrapper (created by I18nProvider)
          in IntlProvider (created by I18nProvider)
          in I18nProvider (created by WrapperComponent)
          in WrapperComponent

      55 |     (async () => {
      56 |       const res = (await actionTypeModel?.validateParams(actionParams)).errors as IErrorObject;
    > 57 |       setActionErrors({ ...res });
         |       ^
      58 |       setHasErrors(!!Object.values(res).find((errors) => errors.length > 0));
      59 |     })();
      60 |   }, [actionTypeModel, actionParams]);

      at printWarning (node_modules/prop-types/checkPropTypes.js:20:15)
      at checkPropTypes (node_modules/prop-types/checkPropTypes.js:83:11)
      at Object.<anonymous>.ReactControlledValuePropTypes.checkPropTypes (node_modules/react-dom/cjs/react-dom.development.js:1679:5)
      at checkSelectPropTypes (node_modules/react-dom/cjs/react-dom.development.js:2167:35)
      at initWrapperState$1 (node_modules/react-dom/cjs/react-dom.development.js:2264:5)
      at setInitialProperties (node_modules/react-dom/cjs/react-dom.development.js:6004:7)
      at finalizeInitialChildren (node_modules/react-dom/cjs/react-dom.development.js:7499:3)
      at completeWork (node_modules/react-dom/cjs/react-dom.development.js:18978:17)
      at completeUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:22189:16)
      at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:22165:12)
      at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:22130:22)
      at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:21756:9)
      at node_modules/react-dom/cjs/react-dom.development.js:11089:24
      at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:653:12)
      at runWithPriority$1 (node_modules/react-dom/cjs/react-dom.development.js:11039:10)
      at flushSyncCallbackQueueImpl (node_modules/react-dom/cjs/react-dom.development.js:11084:7)
      at flushSyncCallbackQueue (node_modules/react-dom/cjs/react-dom.development.js:11072:3)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21199:9)
      at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15660:5)
      at setActionErrors (x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.tsx:57:7)

    console.error
      Warning: An update to TestConnectorForm inside a test was not wrapped in act(...).
      
      When testing, code that causes React state updates should be wrapped into act(...):
      
      act(() => {
        /* fire events that update state */
      });
      /* assert on the output */
      
      This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
          in TestConnectorForm
          in PseudoLocaleWrapper (created by I18nProvider)
          in IntlProvider (created by I18nProvider)
          in I18nProvider (created by WrapperComponent)
          in WrapperComponent

      56 |       const res = (await actionTypeModel?.validateParams(actionParams)).errors as IErrorObject;
      57 |       setActionErrors({ ...res });
    > 58 |       setHasErrors(!!Object.values(res).find((errors) => errors.length > 0));
         |       ^
      59 |     })();
      60 |   }, [actionTypeModel, actionParams]);
      61 |

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
      at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
      at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
      at setHasErrors (x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.tsx:58:7)

    console.error
      Warning: An update to TestConnectorForm inside a test was not wrapped in act(...).
      
      When testing, code that causes React state updates should be wrapped into act(...):
      
      act(() => {
        /* fire events that update state */
      });
      /* assert on the output */
      
      This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
          in TestConnectorForm
          in PseudoLocaleWrapper (created by I18nProvider)
          in IntlProvider (created by I18nProvider)
          in I18nProvider (created by WrapperComponent)
          in WrapperComponent

      55 |     (async () => {
      56 |       const res = (await actionTypeModel?.validateParams(actionParams)).errors as IErrorObject;
    > 57 |       setActionErrors({ ...res });
         |       ^
      58 |       setHasErrors(!!Object.values(res).find((errors) => errors.length > 0));
      59 |     })();
      60 |   }, [actionTypeModel, actionParams]);

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
      at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
      at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
      at setActionErrors (x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.tsx:57:7)

    console.error
      Warning: An update to TestConnectorForm inside a test was not wrapped in act(...).
      
      When testing, code that causes React state updates should be wrapped into act(...):
      
      act(() => {
        /* fire events that update state */
      });
      /* assert on the output */
      
      This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
          in TestConnectorForm
          in PseudoLocaleWrapper (created by I18nProvider)
          in IntlProvider (created by I18nProvider)
          in I18nProvider (created by WrapperComponent)
          in WrapperComponent

      56 |       const res = (await actionTypeModel?.validateParams(actionParams)).errors as IErrorObject;
      57 |       setActionErrors({ ...res });
    > 58 |       setHasErrors(!!Object.values(res).find((errors) => errors.length > 0));
         |       ^
      59 |     })();
      60 |   }, [actionTypeModel, actionParams]);
      61 |

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
      at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
      at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
      at setHasErrors (x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.tsx:58:7)

    console.error
      Warning: An update to TestConnectorForm inside a test was not wrapped in act(...).
      
      When testing, code that causes React state updates should be wrapped into act(...):
      
      act(() => {
        /* fire events that update state */
      });
      /* assert on the output */
      
      This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
          in TestConnectorForm
          in PseudoLocaleWrapper (created by I18nProvider)
          in IntlProvider (created by I18nProvider)
          in I18nProvider (created by WrapperComponent)
          in WrapperComponent

      55 |     (async () => {
      56 |       const res = (await actionTypeModel?.validateParams(actionParams)).errors as IErrorObject;
    > 57 |       setActionErrors({ ...res });
         |       ^
      58 |       setHasErrors(!!Object.values(res).find((errors) => errors.length > 0));
      59 |     })();
      60 |   }, [actionTypeModel, actionParams]);

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
      at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
      at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
      at setActionErrors (x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.tsx:57:7)

    console.error
      Warning: An update to TestConnectorForm inside a test was not wrapped in act(...).
      
      When testing, code that causes React state updates should be wrapped into act(...):
      
      act(() => {
        /* fire events that update state */
      });
      /* assert on the output */
      
      This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
          in TestConnectorForm
          in PseudoLocaleWrapper (created by I18nProvider)
          in IntlProvider (created by I18nProvider)
          in I18nProvider (created by WrapperComponent)
          in WrapperComponent

      56 |       const res = (await actionTypeModel?.validateParams(actionParams)).errors as IErrorObject;
      57 |       setActionErrors({ ...res });
    > 58 |       setHasErrors(!!Object.values(res).find((errors) => errors.length > 0));
         |       ^
      59 |     })();
      60 |   }, [actionTypeModel, actionParams]);
      61 |

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
      at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
      at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
      at setHasErrors (x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/test_connector_form.tsx:58:7)

 PASS  x-pack/plugins/triggers_actions_ui/public/application/sections/alert_details/components/alert_instances_route.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/common/expression_items/threshold.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/servicenow/servicenow.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/pagerduty/pagerduty_params.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_type_menu.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_reducer.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/jira/api.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/servicenow/use_get_choices.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/servicenow/api.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/lib/check_action_type_enabled.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/webhook/webhook.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/webhook/webhook_connectors.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/type_registry.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/email/use_email_config.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/swimlane/swimlane_params.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/common/expression_items/of.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_edit_flyout.test.tsx
  ● Console

    console.error
      Warning: An update to ConnectorEditFlyout inside a test was not wrapped in act(...).
      
      When testing, code that causes React state updates should be wrapped into act(...):
      
      act(() => {
        /* fire events that update state */
      });
      /* assert on the output */
      
      This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
          in ConnectorEditFlyout (created by WrapperComponent)
          in WrapperComponent

      101 |       setIsLoading(true);
      102 |       const res = await getConnectorErrors(connector, actionTypeModel);
    > 103 |       setHasErrors(
          |       ^
      104 |         !!Object.keys(res.connectorErrors).find(
      105 |           (errorKey) => (res.connectorErrors as IErrorObject)[errorKey].length >= 1
      106 |         )

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
      at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
      at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
      at setHasErrors (x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_edit_flyout.tsx:103:7)

    console.error
      Warning: An update to ConnectorEditFlyout inside a test was not wrapped in act(...).
      
      When testing, code that causes React state updates should be wrapped into act(...):
      
      act(() => {
        /* fire events that update state */
      });
      /* assert on the output */
      
      This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
          in ConnectorEditFlyout (created by WrapperComponent)
          in WrapperComponent

      106 |         )
      107 |       );
    > 108 |       setIsLoading(false);
          |       ^
      109 |       setErrors({ ...res });
      110 |     })();
      111 |   }, [connector, actionTypeModel]);

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
      at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
      at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
      at setIsLoading (x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_edit_flyout.tsx:108:7)

    console.error
      Warning: An update to ConnectorEditFlyout inside a test was not wrapped in act(...).
      
      When testing, code that causes React state updates should be wrapped into act(...):
      
      act(() => {
        /* fire events that update state */
      });
      /* assert on the output */
      
      This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
          in ConnectorEditFlyout (created by WrapperComponent)
          in WrapperComponent

      107 |       );
      108 |       setIsLoading(false);
    > 109 |       setErrors({ ...res });
          |       ^
      110 |     })();
      111 |   }, [connector, actionTypeModel]);
      112 |

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
      at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
      at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
      at setErrors (x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_edit_flyout.tsx:109:7)

    console.error
      Warning: An update to ConnectorEditFlyout inside a test was not wrapped in act(...).
      
      When testing, code that causes React state updates should be wrapped into act(...):
      
      act(() => {
        /* fire events that update state */
      });
      /* assert on the output */
      
      This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
          in ConnectorEditFlyout (created by WrapperComponent)
          in WrapperComponent

      101 |       setIsLoading(true);
      102 |       const res = await getConnectorErrors(connector, actionTypeModel);
    > 103 |       setHasErrors(
          |       ^
      104 |         !!Object.keys(res.connectorErrors).find(
      105 |           (errorKey) => (res.connectorErrors as IErrorObject)[errorKey].length >= 1
      106 |         )

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
      at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
      at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
      at setHasErrors (x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_edit_flyout.tsx:103:7)

    console.error
      Warning: An update to ConnectorEditFlyout inside a test was not wrapped in act(...).
      
      When testing, code that causes React state updates should be wrapped into act(...):
      
      act(() => {
        /* fire events that update state */
      });
      /* assert on the output */
      
      This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
          in ConnectorEditFlyout (created by WrapperComponent)
          in WrapperComponent

      106 |         )
      107 |       );
    > 108 |       setIsLoading(false);
          |       ^
      109 |       setErrors({ ...res });
      110 |     })();
      111 |   }, [connector, actionTypeModel]);

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
      at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
      at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
      at setIsLoading (x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_edit_flyout.tsx:108:7)

    console.error
      Warning: An update to ConnectorEditFlyout inside a test was not wrapped in act(...).
      
      When testing, code that causes React state updates should be wrapped into act(...):
      
      act(() => {
        /* fire events that update state */
      });
      /* assert on the output */
      
      This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
          in ConnectorEditFlyout (created by WrapperComponent)
          in WrapperComponent

      107 |       );
      108 |       setIsLoading(false);
    > 109 |       setErrors({ ...res });
          |       ^
      110 |     })();
      111 |   }, [connector, actionTypeModel]);
      112 |

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
      at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
      at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
      at setErrors (x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_edit_flyout.tsx:109:7)

 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/servicenow/use_choices.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/server_log/server_log_params.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/es_index/es_index.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/lib/alert_api/create.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/execution_duration_chart.test.tsx
  ● Console

    console.warn
      Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
      Arguments: 
      [0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: 17 Nov 2021 @ 19:19:17, _f: undefined, _strict: undefined, _locale: [object Object]
      Error: 
          at Function.createFromInputFallback (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/moment/moment.js:324:25)
          at configFromString (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/moment/moment.js:2550:19)
          at configFromInput (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/moment/moment.js:2993:13)
          at prepareConfig (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/moment/moment.js:2976:13)
          at createFromConfig (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/moment/moment.js:2943:44)
          at createLocalOrUTC (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/moment/moment.js:3037:16)
          at createLocal (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/moment/moment.js:3041:16)
          at hooks (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/moment/moment.js:16:29)
          at /opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/execution_duration_chart.tsx:98:35
          at Array.map (<anonymous>)
          at map (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/execution_duration_chart.tsx:97:46)
          at renderWithHooks (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:14803:18)
          at mountIndeterminateComponent (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:17482:13)
          at beginWork (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:18596:16)
          at beginWork$1 (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:23179:14)
          at performUnitOfWork (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:22157:12)
          at workLoopSync (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:22130:22)
          at performSyncWorkOnRoot (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:21756:9)
          at scheduleUpdateOnFiber (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:21188:7)
          at updateContainer (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:24373:3)
          at /opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:24758:7
          at unbatchedUpdates (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:21903:12)
          at legacyRenderSubtreeIntoContainer (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:24757:5)
          at Object.render (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:24840:10)
          at render (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:488:26)
          at fn (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:405:37)
          at batchedUpdates$1 (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom.development.js:21856:12)
          at Object.act (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/react-dom/cjs/react-dom-test-utils.development.js:929:14)
          at act (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:405:13)
          at Object.wrapAct [as render] (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:474:16)
          at new render (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/enzyme/src/ReactWrapper.js:115:16)
          at mount (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/enzyme/src/mount.js:10:10)
          at mountWithIntl (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/@kbn/test/target_node/jest/utils/enzyme_helpers.js:91:28)
          at Object.<anonymous> (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/execution_duration_chart.test.tsx:35:34)
          at Promise.then.completed (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/jest-circus/build/utils.js:300:28)
          at new Promise (<anonymous>)
          at callAsyncCircusFn (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/jest-circus/build/utils.js:233:10)
          at _callCircusTest (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/jest-circus/build/run.js:314:40)
          at _runTest (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/jest-circus/build/run.js:250:3)
          at _runTestsForDescribeBlock (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/jest-circus/build/run.js:125:9)
          at _runTestsForDescribeBlock (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/jest-circus/build/run.js:120:9)
          at run (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/jest-circus/build/run.js:70:3)
          at runAndTransformResultsToJestFormat (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
          at jestAdapter (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
          at runTestInternal (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/jest-runner/build/runTest.js:367:16)
          at runTest (/opt/local-ssd/buildkite/builds/bk-agent-prod-gcp-1720711617315654629/elastic/kibana-pull-request/kibana/node_modules/jest-runner/build/runTest.js:444:34)

       96 |               yAccessors={[1]}
       97 |               data={paddedExecutionDurations.map(([timestamp, val], ndx) => [
    >  98 |                 timestamp ? moment(timestamp).format('D MMM YYYY @ HH:mm:ss') : ndx,
          |                                   ^
       99 |                 val,
      100 |               ])}
      101 |               minBarHeight={2}

      at warn (node_modules/moment/moment.js:287:21)
      at Function.createFromInputFallback (node_modules/moment/moment.js:319:17)
      at configFromString (node_modules/moment/moment.js:2550:19)
      at configFromInput (node_modules/moment/moment.js:2993:13)
      at prepareConfig (node_modules/moment/moment.js:2976:13)
      at createFromConfig (node_modules/moment/moment.js:2943:44)
      at createLocalOrUTC (node_modules/moment/moment.js:3037:16)
      at createLocal (node_modules/moment/moment.js:3041:16)
      at hooks (node_modules/moment/moment.js:16:29)
      at x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/execution_duration_chart.tsx:98:35
          at Array.map (<anonymous>)
      at map (x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/execution_duration_chart.tsx:97:46)
      at renderWithHooks (node_modules/react-dom/cjs/react-dom.development.js:14803:18)
      at mountIndeterminateComponent (node_modules/react-dom/cjs/react-dom.development.js:17482:13)
      at beginWork (node_modules/react-dom/cjs/react-dom.development.js:18596:16)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:23179:14)
      at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:22157:12)
      at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:22130:22)
      at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:21756:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21188:7)
      at updateContainer (node_modules/react-dom/cjs/react-dom.development.js:24373:3)
      at node_modules/react-dom/cjs/react-dom.development.js:24758:7
      at unbatchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:21903:12)
      at legacyRenderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.development.js:24757:5)
      at Object.render (node_modules/react-dom/cjs/react-dom.development.js:24840:10)
      at render (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:488:26)
      at fn (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:405:37)
      at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:21856:12)
      at Object.act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:929:14)
      at act (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:405:13)
      at Object.wrapAct [as render] (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:474:16)
      at new render (node_modules/enzyme/src/ReactWrapper.js:115:16)
      at mount (node_modules/enzyme/src/mount.js:10:10)
      at mountWithIntl (node_modules/@kbn/test/target_node/jest/utils/enzyme_helpers.js:91:28)
      at Object.<anonymous> (x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/execution_duration_chart.test.tsx:35:34)

 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/pagerduty/pagerduty_connectors.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/add_message_variables.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/email/email_params.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/slack/slack.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/teams/teams.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/common/expression_items/value.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/jira/jira.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/teams/teams_connectors.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/server/data/lib/time_series_types.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/slack/slack_connectors.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/common/expression_items/group_by_over.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/swimlane/api.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/servicenow/helpers.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/resilient/resilient.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/lib/alert_api/resolve_rule.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/pagerduty/pagerduty.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/common/expression_items/when.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/lib/alert_api/get_rule.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/resilient/api.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_reducer.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/sections/alerts_list/components/rule_enabled_switch.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_conditions_group.test.tsx
  ● Console

    console.error
      Warning: React does not recognize the `actionGroup` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `actiongroup` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
          in div
          in div (created by EuiFormRow)
          in div (created by EuiFormRow)
          in EuiFormRow (created by AlertConditionsGroup)
          in AlertConditionsGroup (created by WrapperComponent)
          in WrapperComponent

      15 | describe('alert_conditions_group', () => {
      16 |   async function setup(element: React.ReactElement): Promise<ReactWrapper<unknown>> {
    > 17 |     const wrapper = mountWithIntl(element);
         |                                  ^
      18 |
      19 |     // Wait for active space to resolve before requesting the component to update
      20 |     await act(async () => {

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
      at validateProperty$1 (node_modules/react-dom/cjs/react-dom.development.js:5549:7)
      at warnUnknownProperties (node_modules/react-dom/cjs/react-dom.development.js:5595:21)
      at validateProperties$2 (node_modules/react-dom/cjs/react-dom.development.js:5619:3)
      at validatePropertiesInDevelopment (node_modules/react-dom/cjs/react-dom.development.js:5662:5)
      at setInitialProperties (node_modules/react-dom/cjs/react-dom.development.js:5941:5)
      at finalizeInitialChildren (node_modules/react-dom/cjs/react-dom.development.js:7499:3)
      at completeWork (node_modules/react-dom/cjs/react-dom.development.js:18978:17)
      at completeUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:22189:16)
      at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:22165:12)
      at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:22130:22)
      at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:21756:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21188:7)
      at updateContainer (node_modules/react-dom/cjs/react-dom.development.js:24373:3)
      at node_modules/react-dom/cjs/react-dom.development.js:24758:7
      at unbatchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:21903:12)
      at legacyRenderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.development.js:24757:5)
      at Object.render (node_modules/react-dom/cjs/react-dom.development.js:24840:10)
      at render (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:488:26)
      at fn (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:405:37)
      at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:21856:12)
      at Object.act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:929:14)
      at act (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:405:13)
      at Object.wrapAct [as render] (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:474:16)
      at new render (node_modules/enzyme/src/ReactWrapper.js:115:16)
      at mount (node_modules/enzyme/src/mount.js:10:10)
      at mountWithIntl (node_modules/@kbn/test/target_node/jest/utils/enzyme_helpers.js:91:28)
      at setup (x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_conditions_group.test.tsx:17:34)
      at Object.setup (x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_conditions_group.test.tsx:60:27)

 PASS  x-pack/plugins/triggers_actions_ui/public/application/sections/alert_details/components/view_in_app.test.tsx
  ● Console

    console.error
      [React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry. Using default message as fallback.

      28 |       await act(async () => {
      29 |         // use mount as we need useEffect to run
    > 30 |         component = mount(<ViewInApp alert={alert} />);
         |                          ^
      31 |
      32 |         await waitForUseEffect();
      33 |

      at defaultFormatMessage (node_modules/react-intl/lib/index.js:1533:13)
      at FormattedMessage.render (node_modules/react-intl/lib/index.js:1638:30)
      at finishClassComponent (node_modules/react-dom/cjs/react-dom.development.js:17160:31)
      at updateClassComponent (node_modules/react-dom/cjs/react-dom.development.js:17110:24)
      at beginWork (node_modules/react-dom/cjs/react-dom.development.js:18620:16)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:23179:14)
      at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:22157:12)
      at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:22130:22)
      at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:21756:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21188:7)
      at updateContainer (node_modules/react-dom/cjs/react-dom.development.js:24373:3)
      at node_modules/react-dom/cjs/react-dom.development.js:24758:7
      at unbatchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:21903:12)
      at legacyRenderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.development.js:24757:5)
      at Object.render (node_modules/react-dom/cjs/react-dom.development.js:24840:10)
      at render (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:488:26)
      at fn (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:405:37)
      at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:21856:12)
      at Object.act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:929:14)
      at act (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:405:13)
      at Object.wrapAct [as render] (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:474:16)
      at new render (node_modules/enzyme/src/ReactWrapper.js:115:16)
      at mount (node_modules/enzyme/src/mount.js:10:10)
      at x-pack/plugins/triggers_actions_ui/public/application/sections/alert_details/components/view_in_app.test.tsx:30:26
      at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:21856:12)
      at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:929:14)
      at Object.<anonymous> (x-pack/plugins/triggers_actions_ui/public/application/sections/alert_details/components/view_in_app.test.tsx:28:16)

    console.error
      [React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry. Using default message as fallback.

      48 |       act(async () => {
      49 |         // use mount as we need useEffect to run
    > 50 |         component = mount(<ViewInApp alert={alert} />);
         |                          ^
      51 |
      52 |         await waitForUseEffect();
      53 |

      at defaultFormatMessage (node_modules/react-intl/lib/index.js:1533:13)
      at FormattedMessage.render (node_modules/react-intl/lib/index.js:1638:30)
      at finishClassComponent (node_modules/react-dom/cjs/react-dom.development.js:17160:31)
      at updateClassComponent (node_modules/react-dom/cjs/react-dom.development.js:17110:24)
      at beginWork (node_modules/react-dom/cjs/react-dom.development.js:18620:16)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:23179:14)
      at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:22157:12)
      at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:22130:22)
      at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:21756:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21188:7)
      at updateContainer (node_modules/react-dom/cjs/react-dom.development.js:24373:3)
      at node_modules/react-dom/cjs/react-dom.development.js:24758:7
      at unbatchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:21903:12)
      at legacyRenderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.development.js:24757:5)
      at Object.render (node_modules/react-dom/cjs/react-dom.development.js:24840:10)
      at render (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:488:26)
      at fn (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:405:37)
      at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:21856:12)
      at Object.act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:929:14)
      at act (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:405:13)
      at Object.wrapAct [as render] (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:474:16)
      at new render (node_modules/enzyme/src/ReactWrapper.js:115:16)
      at mount (node_modules/enzyme/src/mount.js:10:10)
      at x-pack/plugins/triggers_actions_ui/public/application/sections/alert_details/components/view_in_app.test.tsx:50:26
      at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:21856:12)
      at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:929:14)
      at Object.<anonymous> (x-pack/plugins/triggers_actions_ui/public/application/sections/alert_details/components/view_in_app.test.tsx:48:10)

    console.error
      Warning: You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);

      at printWarning (node_modules/react-dom/cjs/react-dom-test-utils.development.js:87:30)
      at error (node_modules/react-dom/cjs/react-dom-test-utils.development.js:59:5)
      at node_modules/react-dom/cjs/react-dom-test-utils.development.js:946:13

 PASS  x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/connector_add_modal.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/lib/alert_api/state.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/email/exchange_form.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/lib/action_type_compare.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/lib/execution_duration_utils.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/get_encrypted_field_notify_label.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/lib/alert_api/map_filters_to_kql.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/servicenow/use_get_app_info.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/server_log/server_log.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/lib/check_alert_type_enabled.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_connector_form.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/text_field_with_message_variables.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/text_area_with_message_variables.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/lib/alert_api/alert_summary.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/json_editor_with_message_variables.test.tsx
  ● Console

    console.warn
      [EUI] - DEPRECATION: `EuiCodeEditor` is deprecated and will be removed in a future release.
      See https://ela.st/euicodeeditor for migration options.

      27 |
      28 |   test('renders variables with double braces by default', () => {
    > 29 |     const wrapper = mountWithIntl(<JsonEditorWithMessageVariables {...props} />);
         |                                  ^
      30 |
      31 |     wrapper.find('[data-test-subj="fooAddVariableButton"]').first().simulate('click');
      32 |     wrapper

      at warnOnce (node_modules/@elastic/eui/test-env/services/console/warn_once.js:20:13)
      at new EuiCodeEditor (node_modules/@elastic/eui/test-env/components/code_editor/code_editor.js:140:28)
      at constructClassInstance (node_modules/react-dom/cjs/react-dom.development.js:12880:18)
      at updateClassComponent (node_modules/react-dom/cjs/react-dom.development.js:17100:5)
      at beginWork (node_modules/react-dom/cjs/react-dom.development.js:18620:16)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:23179:14)
      at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:22157:12)
      at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:22130:22)
      at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:21756:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21188:7)
      at updateContainer (node_modules/react-dom/cjs/react-dom.development.js:24373:3)
      at node_modules/react-dom/cjs/react-dom.development.js:24758:7
      at unbatchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:21903:12)
      at legacyRenderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.development.js:24757:5)
      at Object.render (node_modules/react-dom/cjs/react-dom.development.js:24840:10)
      at render (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:488:26)
      at fn (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:405:37)
      at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:21856:12)
      at Object.act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:929:14)
      at act (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:405:13)
      at Object.wrapAct [as render] (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:474:16)
      at new render (node_modules/enzyme/src/ReactWrapper.js:115:16)
      at mount (node_modules/enzyme/src/mount.js:10:10)
      at mountWithIntl (node_modules/@kbn/test/target_node/jest/utils/enzyme_helpers.js:91:28)
      at Object.<anonymous> (x-pack/plugins/triggers_actions_ui/public/application/components/json_editor_with_message_variables.test.tsx:29:34)

 PASS  x-pack/plugins/triggers_actions_ui/public/application/lib/alert_api/update.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/servicenow/sn_store_button.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/sections/common/components/with_actions_api_operations.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/common/expression_items/for_the_last.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/lib/breadcrumb.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/lib/alert_api/health.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/server/index.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/lib/alert_api/rule_types.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/servicenow/application_required_callout.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/create.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/home.test.tsx
  ● Console

    console.error
      Warning: An update to HealthContextProvider inside a test was not wrapped in act(...).
      
      When testing, code that causes React state updates should be wrapped into act(...):
      
      act(() => {
        /* fire events that update state */
      });
      /* assert on the output */
      
      This ensures that you're testing the behavior the user would see in the browser. Learn more at https://fb.me/react-wrap-tests-with-act
          in HealthContextProvider (created by TriggersActionsUIHome)
          in TriggersActionsUIHome
          in Router (created by WrapperComponent)
          in WrapperComponent

      28 |
      29 |   const setLoadingHealthCheck = useCallback((isLoading: boolean) => {
    > 30 |     setLoading(isLoading);
         |     ^
      31 |   }, []);
      32 |
      33 |   const value = useMemo(() => {

      at printWarning (node_modules/react-dom/cjs/react-dom.development.js:88:30)
      at error (node_modules/react-dom/cjs/react-dom.development.js:60:5)
      at warnIfNotCurrentlyActingUpdatesInDEV (node_modules/react-dom/cjs/react-dom.development.js:23284:7)
      at dispatchAction (node_modules/react-dom/cjs/react-dom.development.js:15656:9)
      at setLoading (x-pack/plugins/triggers_actions_ui/public/application/context/health_context.tsx:30:5)
      at setLoadingHealthCheck (x-pack/plugins/triggers_actions_ui/public/application/components/health_check.tsx:72:7)

 PASS  x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/update.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/lib/alert_api/unmute.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/lib/alert_api/disable.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/lib/alert_api/enable.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/connector_types.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/lib/alert_api/mute.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/lib/get_time_options.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/common/lib/get_time_options.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/webhook/webhook_params.test.tsx
  ● Console

    console.warn
      [EUI] - DEPRECATION: `EuiCodeEditor` is deprecated and will be removed in a future release.
      See https://ela.st/euicodeeditor for migration options.

      16 |     };
      17 |
    > 18 |     const wrapper = mountWithIntl(
         |                                  ^
      19 |       <WebhookParamsFields
      20 |         actionParams={actionParams}
      21 |         errors={{ body: [] }}

      at warnOnce (node_modules/@elastic/eui/test-env/services/console/warn_once.js:20:13)
      at new EuiCodeEditor (node_modules/@elastic/eui/test-env/components/code_editor/code_editor.js:140:28)
      at constructClassInstance (node_modules/react-dom/cjs/react-dom.development.js:12880:18)
      at updateClassComponent (node_modules/react-dom/cjs/react-dom.development.js:17100:5)
      at beginWork (node_modules/react-dom/cjs/react-dom.development.js:18620:16)
      at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:23179:14)
      at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:22157:12)
      at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:22130:22)
      at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:21756:9)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21188:7)
      at updateContainer (node_modules/react-dom/cjs/react-dom.development.js:24373:3)
      at node_modules/react-dom/cjs/react-dom.development.js:24758:7
      at unbatchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:21903:12)
      at legacyRenderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.development.js:24757:5)
      at Object.render (node_modules/react-dom/cjs/react-dom.development.js:24840:10)
      at render (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:488:26)
      at fn (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:405:37)
      at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:21856:12)
      at Object.act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:929:14)
      at act (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:405:13)
      at Object.wrapAct [as render] (node_modules/enzyme-adapter-react-16/src/ReactSixteenAdapter.js:474:16)
      at new render (node_modules/enzyme/src/ReactWrapper.js:115:16)
      at mount (node_modules/enzyme/src/mount.js:10:10)
      at mountWithIntl (node_modules/@kbn/test/target_node/jest/utils/enzyme_helpers.js:91:28)
      at Object.<anonymous> (x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/webhook/webhook_params.test.tsx:18:34)

 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/servicenow/installation_callout.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/execute.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/servicenow/deprecated_callout.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/lib/get_defaults_for_action_params.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/common/expression_items/components/closable_popover_title.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/delete.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/teams/teams_params.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/lib/alert_api/delete.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/slack/slack_params.test.tsx
 PASS  x-pack/plugins/triggers_actions_ui/public/application/lib/alert_api/unmute_alert.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/lib/alert_api/mute_alert.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/lib/template_action_variable.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/lib/action_connector_api/connectors.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/common/lib/health_api.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/lib/has_mustache_tokens.test.ts
 PASS  x-pack/plugins/triggers_actions_ui/public/application/lib/doc_title.test.ts

Test Suites: 1 skipped, 138 passed, 138 of 139 total
Tests:       4 skipped, 745 passed, 749 total
Snapshots:   140 passed, 140 total
Time:        218.814 s
Ran all test suites.