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: X-Pack Jest Tests.x-pack/plugins/uptime/public/components/overview/monitor_list/__tests__ - MonitorList component renders the monitor list #70386

Closed
kibanamachine opened this issue Jun 30, 2020 · 12 comments · Fixed by #70411
Assignees
Labels
blocker failed-test A test failure on a tracked branch, potentially flaky-test skipped-test Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v7.8.1 v7.9.0 v8.0.0

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Jun 30, 2020

A test failed on a tracked branch

Error: expect(received).toMatchSnapshot()

Snapshot name: `MonitorList component renders the monitor list 1`

- Snapshot  - 26
+ Received  + 26

@@ -1,48 +1,48 @@
  .c3 {
-   padding-left: 17px;
+   padding-left: 17px;
  }

  .c5 {
-   padding-top: 12px;
+   padding-top: 12px;
  }

  .c1 {
-   margin-left: auto;
+   margin-left: auto;
  }

  .c4 {
-   white-space: nowrap;
-   overflow: hidden;
-   text-overflow: ellipsis;
+   white-space: nowrap;
+   overflow: hidden;
+   text-overflow: ellipsis;
  }

  @media (max-width:574px) {
-   .c2 {
-     min-width: 230px;
-   }
+   .c2 {
+     min-width: 230px;
+   }
  }

  @media only screen and (max-width:768px) {
-   .c0.c0 > :first-child {
-     -webkit-flex-basis: 40% !important;
-     -ms-flex-preferred-size: 40% !important;
-     flex-basis: 40% !important;
-   }
+   .c0.c0 > :first-child {
+     -webkit-flex-basis: 40% !important;
+     -ms-flex-preferred-size: 40% !important;
+     flex-basis: 40% !important;
+   }

-   .c0.c0 > :nth-child(2) {
-     -webkit-order: 3;
-     -ms-flex-order: 3;
-     order: 3;
-   }
+   .c0.c0 > :nth-child(2) {
+     -webkit-order: 3;
+     -ms-flex-order: 3;
+     order: 3;
+   }

-   .c0.c0 > :nth-child(3) {
-     -webkit-flex-basis: 60% !important;
-     -ms-flex-preferred-size: 60% !important;
-     flex-basis: 60% !important;
+   .c0.c0 > :nth-child(3) {
+     -webkit-flex-basis: 60% !important;
+     -ms-flex-preferred-size: 60% !important;
+     flex-basis: 60% !important;
+   }
  }
- }

  <div
    class="euiPanel euiPanel--paddingMedium"
  >
    <div
@@ -324,11 +324,11 @@
                            class="euiText euiText--extraSmall"
                          >
                            <div
                              class="euiTextColor euiTextColor--subdued"
                            >
-                             1897 Yr ago
+                             1898 Yr ago
                            </div>
                          </div>
                        </span>
                      </span>
                    </div>
@@ -501,11 +501,11 @@
                            class="euiText euiText--extraSmall"
                          >
                            <div
                              class="euiTextColor euiTextColor--subdued"
                            >
-                             1895 Yr ago
+                             1896 Yr ago
                            </div>
                          </div>
                        </span>
                      </span>
                    </div>
    at Object.it (/dev/shm/workspace/kibana/x-pack/plugins/uptime/public/components/overview/monitor_list/__tests__/monitor_list.test.tsx:145:23)
    at Promise (/dev/shm/workspace/kibana/node_modules/jest-circus/build/utils.js:198:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/dev/shm/workspace/kibana/node_modules/jest-circus/build/utils.js:162:10)
    at _callCircusTest (/dev/shm/workspace/kibana/node_modules/jest-circus/build/run.js:205:40)
    at process._tickCallback (internal/process/next_tick.js:68:7)

First failure: Jenkins Build

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Jun 30, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-test-triage (failed-test)

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

brianseeders added a commit that referenced this issue Jul 1, 2020
brianseeders added a commit that referenced this issue Jul 1, 2020
@brianseeders brianseeders added blocker skipped-test v7.9.0 v8.0.0 uptime Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability labels Jul 1, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/uptime (Team:uptime)

@brianseeders
Copy link
Contributor

Skipped on 7.x and master, looks like this was failing every build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

@shahzad31 shahzad31 self-assigned this Jul 1, 2020
Bamieh pushed a commit to Bamieh/kibana that referenced this issue Jul 1, 2020
gmmorris added a commit to gmmorris/kibana that referenced this issue Jul 1, 2020
…-based-rbac

* upstream/master: (38 commits)
  Move logger configuration integration test to jest (elastic#70378)
  Changes observability plugin codeowner (elastic#70439)
  update (elastic#70424)
  [Logs UI] Avoid CCS-incompatible index name resolution (elastic#70179)
  Enable "Explore underlying data" actions for Lens visualizations (elastic#70047)
  Initial work on uptime homepage API (elastic#70135)
  expressions indexPattern function (elastic#70315)
  [Discover] Deangularization context error message refactoring (elastic#70090)
  [Lens] Add "no data" popover (elastic#69147)
  [Lens] Move chart switcher over (elastic#70182)
  chore: add missing mjs extension (elastic#70326)
  [Lens] Multiple y axes (elastic#69911)
  skip flaky suite (elastic#70386)
  fix bug to add timeline to case (elastic#70343)
  [QA][Code Coverage] Drop catchError and use try / catch instead, (elastic#69198)
  [QA] [Code Coverage] Integrate with Team Assignment Pipeline and Add Research and Development Indexes and Cluster (elastic#69348)
  [Metrics UI] Add context.reason and alertOnNoData to Inventory alerts (elastic#70260)
  Resolver refactoring (elastic#70312)
  [Ingest Manager] Fix agent ack after input format change (elastic#70335)
  [eslint][ts] Enable prefer-ts-expect-error (elastic#70022)
  ...
@kibanamachine
Copy link
Contributor Author

New failure: Jenkins Build

spalger pushed a commit that referenced this issue Jul 1, 2020
(cherry picked from commit c1dc53c)
@spalger
Copy link
Contributor

spalger commented Jul 1, 2020

Looks like this is failing on 7.8 too, skipped in 7.8

@spalger spalger added the v7.8.1 label Jul 1, 2020
@shahzad31
Copy link
Contributor

@spalger it would fail on 7.7 as well.

@spalger
Copy link
Contributor

spalger commented Jul 1, 2020

Hmm, this test file doesn't exist in 7.7 so it will create a separate issue for 7.7 specific failures. We can address that when they occur

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker failed-test A test failure on a tracked branch, potentially flaky-test skipped-test Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v7.8.1 v7.9.0 v8.0.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants