elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.64k stars 8.22k forks source link

Failing test: Jest Tests.x-pack/plugins/security_solution/public/timelines/components/timeline/tabs/query - query tab with unified timeline Leading actions - notes securitySolutionNotesEnabled = false expandableFlyoutDisabled = true should have the notification dot & correct tooltip #188083

Open kibanamachine opened 4 months ago

kibanamachine commented 4 months ago

A test failed on a tracked branch

Error: Unable to find an element by: [data-test-subj="timeline-notes-tool-tip"]

Ignored nodes: comments, script, style
<body
  class=""
>
  <div>
    <div
      class="euiFlexGroup sc-pAoIE iSGzRx css-1ks2r8i-euiFlexGroup-s-flexStart-stretch-column"
    >
      <div
        class="euiFlexItem sc-pIkGh khHDhZ css-kpsrin-euiFlexItem-growZero"
      >
        <div
          class="euiFlyoutHeader sc-pdkQB fKHmjN css-6wfrrw-euiFlyoutHeader"
          data-test-subj="query-tab-flyout-header"
        >
          <div
            class="euiFlexGroup css-1ks2r8i-euiFlexGroup-s-flexStart-stretch-column"
          >
            <div
              class="euiFlexItem css-9sbomz-euiFlexItem-grow-1"
              data-test-subj="timeline-date-picker-container"
            >
              <div
                class="sc-oUNyY bxOngN"
                data-test-subj="timelineHeader"
              >
                <div
                  class="euiFlexGroup css-1ks2r8i-euiFlexGroup-s-flexStart-stretch-column"
                >
                  <div
                    class="euiFlexItem css-9sbomz-euiFlexItem-grow-1"
                  >
                    <div
                      class="euiFlexGroup css-1ks2r8i-euiFlexGroup-s-flexStart-stretch-column"
                    >
                      <div
                        class="euiFlexItem css-9sbomz-euiFlexItem-grow-1"
                      >
                        <div
                          class="euiFlexGroup eui-scrollBar css-1dshak9-euiFlexGroup-xs-flexStart-center-row"
                        >
                          <div
                            class="euiFlexItem css-9sbomz-euiFlexItem-grow-1"
                          >
                            <div
                              class="sc-pIxCL kBDSMW"
                            >
                              <div
                                class="euiFlexGroup css-1bh86ds-euiFlexGroup-xs-flexStart-flexStart-row"
                                data-test-subj="timeline-search-or-filter"
                              >
                                <div
                                  class="euiFlexItem css-kpsrin-euiFlexItem-growZero"
                                  id="timeline-data-view"
                                >
                                  <div
                                    class="euiPopover css-bvzum9-euiPopover-block"
                                    data-test-subj="timeline-sourcerer-popover"
                                  >
                                    <span
                                      class="euiToolTipAnchor css-jcaat8-euiToolTipAnchor-inlineBlock"
                                    >
                                      <button
                                        aria-label="Data view"
                                        class="euiButton css-gp0gk9-euiButtonDisplay-m-defaultMinWidth-base-primary"
                                        data-test-subj="timeline-sourcerer-trigger"
                                        title="Data view"
                                        type="button"
                                      >
                                        <span
                                          class="css-cf8eum-euiButtonDisplayContent"
                                        >
                                          Data view
                                          <span
                                            color="inherit"
                                            data-euiicon-type="arrowDown"
                                          />
                                        </span>
                                      </button>
                                    </span>
                                  </div>
                                </div>
                                <div
                                  class="euiFlexItem css-9sbomz-euiFlexItem-grow-1"
                                  data-test-subj="timeline-search-or-filter-search-container"
                                >
                                  <div
                                    class="search_bar_container css-1ma0w16"
                                  >
                                    <div
                                      class="uniSearchBar uniSearchBar--inPage"
                                      css="You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).,You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).,false"
                                      data-test-subj="globalQueryBar"
                                    >
                                      <div
                                        data-shared-timefilter-duration="Jul 11, 2024 @ 00:00:00.000 to Jul 11, 2024 @ 00:00:00.000"
                                        data-test-subj="dataSharedTimefilterDuration"
                                      />
                                      <div
                                        class="euiFlexGroup kbnQueryBar css-1mlsxft-euiFlexGroup-wrap-s-flexEnd-stretch-row"
                                      >
                                        <div
                                          class="euiFlexItem css-9sbomz-euiFlexItem-grow-1"
                                          style="m...
    at waitForWrapper (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1720691649496888156/elastic/kibana-on-merge/kibana/node_modules/@testing-library/dom/dist/wait-for.js:187:27)
    at Object.<anonymous> (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1720691649496888156/elastic/kibana-on-merge/kibana/x-pack/plugins/security_solution/public/timelines/components/timeline/tabs/query/query_tab_unified_components.test.tsx:1048:26)

First failure: kibana-on-merge - 8.15

elasticmachine commented 4 months ago

Pinging @elastic/security-threat-hunting-investigations (Team:Threat Hunting:Investigations)