elastic / kibana

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

Failing test: Jest Tests.x-pack/plugins/security_solution/public/management/components/console/components - BadArgument component should only display message (no help) if command is hidden from help #193094

Open kibanamachine opened 2 months ago

kibanamachine commented 2 months ago

A test failed on a tracked branch

TestingLibraryElementError: Unable to find an element by: [data-test-subj="test-badArgument-message"]

Ignored nodes: comments, script, style
<body>
  <div>
    <div
      class="sc-fzoYHE ikFDuv"
      data-test-subj="test"
    >
      <div
        class="euiFlexGroup layout css-1h68cm-euiFlexGroup-none-flexStart-stretch-row"
      >
        <div
          class="euiFlexItem css-9sbomz-euiFlexItem-grow-1"
        >
          <div
            class="euiFlexGroup layout css-1bdwqv1-euiFlexGroup-none-flexStart-stretch-column"
            data-test-subj="test-mainPanel"
          >
            <div
              class="euiFlexItem layout-header css-kpsrin-euiFlexItem-growZero"
            >
              <div
                class="euiFlexGroup css-19b6s45-euiFlexGroup-none-spaceBetween-center-row"
              >
                <div
                  class="euiFlexItem eui-textTruncate noThemeOverrides css-9sbomz-euiFlexItem-grow-1"
                  data-test-subj="test-header-titleComponentContainer"
                />
                <div
                  class="euiFlexItem css-kpsrin-euiFlexItem-growZero"
                >
                  <button
                    aria-label="Show help"
                    aria-pressed="false"
                    class="euiButtonEmpty sc-fzoxKX kXcOVB css-vdbxne-euiButtonDisplay-euiButtonEmpty-m-empty-primary"
                    data-test-subj="test-header-helpButton"
                    style="margin-left: auto;"
                    title="Show help"
                    type="button"
                  >
                    <span
                      class="euiButtonEmpty__content css-cf8eum-euiButtonDisplayContent"
                    >
                      <span
                        color="inherit"
                        data-euiicon-type="help"
                      />
                      <span
                        class="eui-textTruncate euiButtonEmpty__text"
                      >
                        Help
                      </span>
                    </span>
                  </button>
                </div>
              </div>
            </div>
            <div
              class="euiFlexItem layout-hideOverflow css-9sbomz-euiFlexItem-grow-1"
            >
              <div
                class="euiFlexGroup layout-hideOverflow css-1h68cm-euiFlexGroup-none-flexStart-stretch-row"
              >
                <div
                  class="euiFlexItem eui-fullHeight layout-hideOverflow css-9sbomz-euiFlexItem-grow-1"
                >
                  <div
                    class="euiFlexGroup layout-hideOverflow css-1bdwqv1-euiFlexGroup-none-flexStart-stretch-column"
                  >
                    <div
                      class="euiFlexItem layout-historyOutput css-9sbomz-euiFlexItem-grow-1"
                    >
                      <div
                        class="layout-container layout-historyViewport eui-scrollBar eui-yScroll"
                      >
                        <div
                          class="euiFlexGroup css-14g7fp6-euiFlexGroup-wrap-none-flexStart-stretch-column"
                          data-test-subj="test-historyOutput"
                        >
                          <div
                            class="euiFlexItem sc-fzqAbL iPjjZR css-9sbomz-euiFlexItem-grow-1"
                            data-test-subj="test-historyItem"
                          >
                            <div
                              class="sc-fzomME gVIBkj"
                            >
                              <div>
                                <code
                                  data-test-subj="test-userCommandText"
                                >
                                  <span
                                    class="css-7fidck-euiTextColor-default"
                                  >
                                    cmdc1m d-1- f-o-ofoo
                                  </span>
                                </code>
                              </div>
                              <div
                                class="noThemeOverrides"
                              >
                                <div
                                  class="euiSpacer euiSpacer--s css-78drzl-euiSpacer-s"
                                />
                                <div
                                  class="euiSpacer euiSpacer--xs css-1wffcmx-euiSpacer-xs"
                                />
                                <div
                                  data-test-subj="test-unknownCommandError"
                                >
                                  <div
                                    class="euiText css-1f3uq2g-euiText-s"
                                  >
                                    <span
                                      class="css-1t6zs07-euiTextColor-danger"
                                    >
                                      <div
                                        class="euiText sc-fzpkqZ bDdfgP css-9quf4j-euiText-relative-euiTextColor-danger"
                                      >
                                        Unsupported text/command
                                      </div>
                                    </span>
                                  </div>
                                  <div
                                    class="euiSpacer euiSpacer--s css-78drzl-euiSpacer-s"
                                  />
                                  <div
                                    class="euiText sc-fzpkqZ bDdfgP css-1dorzu8-euiText-relative-euiTextColor-default"
                                  >
                                    The text you entered 
                                    <div
                                      class="euiText sc-fzpkqZ bDdfgP eui-displayInline css-1dorzu8-euiText-relative-euiTextColor-default"
                                    >
                                      <strong>
                                        cmdc1m d-1- f-o-ofoo
                                      </strong>
                                    </div>
                                     is unsupported! Click 
                                    <span
                                      data-euiicon-type="help"
                                    />

                                    <strong>
                                      Help
                                    </strong>
                                     or type 
                                    <div
                                      class="euiText sc-fzpkqZ bDdfgP eui-displayInline css-1dorzu8-euiText-relative-euiTextColor-default"
                                    >
                                      <strong>
                                        help
                                      </strong>
                                    </div>
                                     for assistance.
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                    <div
                      class="euiFlexItem layout-container layout-commandInput css-kpsrin-euiFlexItem-growZero"
                      data-test-subj="test-mainPanel-inputArea"
                    >
                      <div
                        class="euiPopover css-bvzum9-euiPopover-block"
                        data-test-subj="test-inputPopover"
                      >
                        <div
                          class="sc-fzoant eOJPIs cmdInput hasFocus"
                          data-test-subj="test-cmdInput-container"
                        >
                          <div
                            class="euiFlexGroup css-bjkil0-euiFlexGroup-none-flexStart-center-row"
                          >
                            <div
                              class="euiFlexItem css-kpsri
[report_failure] output truncated to 8192 characters

First failure: kibana-on-merge - main

elasticmachine commented 2 months ago

Pinging @elastic/security-defend-workflows (Team:Defend Workflows)

kibanamachine commented 1 month ago

New failure: kibana-on-merge - main

kibanamachine commented 1 month ago

New failure: kibana-on-merge - main

kibanamachine commented 1 month ago

New failure: kibana-on-merge - main

kibanamachine commented 1 month ago

New failure: kibana-on-merge - main

kibanamachine commented 1 month ago

New failure: kibana-on-merge - main

kibanamachine commented 1 month ago

New failure: kibana-on-merge - main

kibanamachine commented 1 month ago

New failure: kibana-on-merge - main

kibanamachine commented 1 month ago

New failure: kibana-on-merge - main

kibanamachine commented 1 month ago

New failure: kibana-on-merge - 8.x

kibanamachine commented 3 weeks ago

New failure: kibana-on-merge - 8.x

kibanamachine commented 2 weeks ago

New failure: kibana-on-merge - 8.x