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.packages/content-management/table_list_view_table/src - TableListView default columns should not display relative time for items updated more than 7 days ago #198744

Closed
kibanamachine opened this issue Nov 3, 2024 · 9 comments · Fixed by #198759
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience)

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Nov 3, 2024

A test failed on a tracked branch

Error: expect(received).toEqual(expected) // deep equality

- Expected  - 1
+ Received  + 1

@@ -1,9 +1,9 @@
  Array [
    Array [
      "Item 1Item 1 description",
-     "Oct 27, 2024",
+     "Sun Oct 27 2024",
    ],
    Array [
      "Item 2Item 2 description",
      "Oct 26, 2024",
    ],
    at Object.toEqual (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1730616953263591753/elastic/kibana-on-merge/kibana/packages/content-management/table_list_view_table/src/table_list_view.test.tsx:270:32)

First failure: kibana-on-merge - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Nov 3, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Nov 3, 2024
@kibanamachine kibanamachine added the Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience) label Nov 3, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/appex-sharedux (Team:SharedUX)

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

New failure: kibana-on-merge - main

@Dosant Dosant self-assigned this Nov 4, 2024
@Dosant Dosant closed this as completed in a88833c Nov 4, 2024
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Nov 4, 2024
## Summary

Fix elastic#198744

Test was subtracting 7 days, but there is 1 hour less now, so the test
setup is incorrect. Fixing it by using moment to handle time switch edge
case

(cherry picked from commit a88833c)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Nov 4, 2024
## Summary

Fix elastic#198744

Test was subtracting 7 days, but there is 1 hour less now, so the test
setup is incorrect. Fixing it by using moment to handle time switch edge
case

(cherry picked from commit a88833c)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Nov 4, 2024
## Summary

Fix elastic#198744

Test was subtracting 7 days, but there is 1 hour less now, so the test
setup is incorrect. Fixing it by using moment to handle time switch edge
case

(cherry picked from commit a88833c)
@kibanamachine kibanamachine reopened this Nov 4, 2024
@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@Dosant Dosant closed this as completed Nov 4, 2024
@kibanamachine kibanamachine reopened this Nov 4, 2024
@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - 8.16

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - 8.16

@kibanamachine
Copy link
Contributor Author

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

@kibanamachine
Copy link
Contributor Author

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

@Dosant
Copy link
Contributor

Dosant commented Nov 4, 2024

The fix was merged and being backported.
The failures are from the runs without the fix

@Dosant Dosant closed this as completed Nov 4, 2024
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:SharedUX Team label for AppEx-SharedUX (formerly Global Experience)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants