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

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 this issue Sep 16, 2024 · 15 comments
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Defend Workflows “EDR Workflows” sub-team of Security Solution

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Sep 16, 2024

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

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Sep 16, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Sep 16, 2024
@kibanamachine kibanamachine added the Team:Defend Workflows “EDR Workflows” sub-team of Security Solution label Sep 16, 2024
@elasticmachine
Copy link
Contributor

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

@botelastic botelastic bot removed the needs-team Issues missing a team label label Sep 16, 2024
@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

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

@kibanamachine
Copy link
Contributor Author

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

@kibanamachine
Copy link
Contributor Author

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

@kibanamachine
Copy link
Contributor Author

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

@kibanamachine
Copy link
Contributor Author

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

@kibanamachine
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Defend Workflows “EDR Workflows” sub-team of Security Solution
Projects
None yet
Development

No branches or pull requests

2 participants