-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[Flaky test] Observability alerts pagination - Previous page button is disabled #248044
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
Conversation
…g the button state
💚 Build Succeeded
Metrics [docs]
|
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#10317[✅] x-pack/solutions/observability/test/observability_functional/with_rac_write.config.ts: 200/200 tests passed. |
ana-davydova
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm :)
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
|
Starting backport for target branches: 8.19, 9.1, 9.2 |
…s disabled (elastic#248044) It closes elastic#233241. ### Summary Fixes intermittent test failure in `pagination.ts` where the test `'Previous page button is disabled'` would sometimes fail with: `Error: expected null to equal 'true' ` ### Problem The test was checking the `disabled` attribute of the previous page button without waiting for the alert data to finish loading. ### Solution - Added `alertDataHasLoaded()` to wait for the alerts table to finish loading before checking the button state - Wrapped the assertion in `retry.try()` to handle any remaining timing edge cases (cherry picked from commit 8881709)
…s disabled (elastic#248044) It closes elastic#233241. ### Summary Fixes intermittent test failure in `pagination.ts` where the test `'Previous page button is disabled'` would sometimes fail with: `Error: expected null to equal 'true' ` ### Problem The test was checking the `disabled` attribute of the previous page button without waiting for the alert data to finish loading. ### Solution - Added `alertDataHasLoaded()` to wait for the alerts table to finish loading before checking the button state - Wrapped the assertion in `retry.try()` to handle any remaining timing edge cases (cherry picked from commit 8881709)
…s disabled (elastic#248044) It closes elastic#233241. ### Summary Fixes intermittent test failure in `pagination.ts` where the test `'Previous page button is disabled'` would sometimes fail with: `Error: expected null to equal 'true' ` ### Problem The test was checking the `disabled` attribute of the previous page button without waiting for the alert data to finish loading. ### Solution - Added `alertDataHasLoaded()` to wait for the alerts table to finish loading before checking the button state - Wrapped the assertion in `retry.try()` to handle any remaining timing edge cases (cherry picked from commit 8881709)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…utton is disabled (#248044) (#248222) # Backport This will backport the following commits from `main` to `8.19`: - [[Flaky test] Observability alerts pagination - Previous page button is disabled (#248044)](#248044) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Francesco Fagnani","email":"[email protected]"},"sourceCommit":{"committedDate":"2026-01-08T09:41:01Z","message":"[Flaky test] Observability alerts pagination - Previous page button is disabled (#248044)\n\nIt closes https://github.com/elastic/kibana/issues/233241.\n\n### Summary\n\nFixes intermittent test failure in `pagination.ts` where the test\n`'Previous page button is disabled'` would sometimes fail with:\n\n`Error: expected null to equal 'true'\n`\n### Problem\n\nThe test was checking the `disabled` attribute of the previous page\nbutton without waiting for the alert data to finish loading.\n\n### Solution\n\n- Added `alertDataHasLoaded()` to wait for the alerts table to finish\nloading before checking the button state\n- Wrapped the assertion in `retry.try()` to handle any remaining timing\nedge cases","sha":"8881709d182d0a632713194fab8f40c646565339","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","ci:project-deploy-observability","backport:version","v9.4.0","author:actionable-obs","v9.2.4","v9.1.10","v8.19.10"],"title":"[Flaky test] Observability alerts pagination - Previous page button is disabled","number":248044,"url":"https://github.com/elastic/kibana/pull/248044","mergeCommit":{"message":"[Flaky test] Observability alerts pagination - Previous page button is disabled (#248044)\n\nIt closes https://github.com/elastic/kibana/issues/233241.\n\n### Summary\n\nFixes intermittent test failure in `pagination.ts` where the test\n`'Previous page button is disabled'` would sometimes fail with:\n\n`Error: expected null to equal 'true'\n`\n### Problem\n\nThe test was checking the `disabled` attribute of the previous page\nbutton without waiting for the alert data to finish loading.\n\n### Solution\n\n- Added `alertDataHasLoaded()` to wait for the alerts table to finish\nloading before checking the button state\n- Wrapped the assertion in `retry.try()` to handle any remaining timing\nedge cases","sha":"8881709d182d0a632713194fab8f40c646565339"}},"sourceBranch":"main","suggestedTargetBranches":["9.2","9.1","8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/248044","number":248044,"mergeCommit":{"message":"[Flaky test] Observability alerts pagination - Previous page button is disabled (#248044)\n\nIt closes https://github.com/elastic/kibana/issues/233241.\n\n### Summary\n\nFixes intermittent test failure in `pagination.ts` where the test\n`'Previous page button is disabled'` would sometimes fail with:\n\n`Error: expected null to equal 'true'\n`\n### Problem\n\nThe test was checking the `disabled` attribute of the previous page\nbutton without waiting for the alert data to finish loading.\n\n### Solution\n\n- Added `alertDataHasLoaded()` to wait for the alerts table to finish\nloading before checking the button state\n- Wrapped the assertion in `retry.try()` to handle any remaining timing\nedge cases","sha":"8881709d182d0a632713194fab8f40c646565339"}},{"branch":"9.2","label":"v9.2.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.10","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.10","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Francesco Fagnani <[email protected]>
…tton is disabled (#248044) (#248224) # Backport This will backport the following commits from `main` to `9.2`: - [[Flaky test] Observability alerts pagination - Previous page button is disabled (#248044)](#248044) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Francesco Fagnani","email":"[email protected]"},"sourceCommit":{"committedDate":"2026-01-08T09:41:01Z","message":"[Flaky test] Observability alerts pagination - Previous page button is disabled (#248044)\n\nIt closes https://github.com/elastic/kibana/issues/233241.\n\n### Summary\n\nFixes intermittent test failure in `pagination.ts` where the test\n`'Previous page button is disabled'` would sometimes fail with:\n\n`Error: expected null to equal 'true'\n`\n### Problem\n\nThe test was checking the `disabled` attribute of the previous page\nbutton without waiting for the alert data to finish loading.\n\n### Solution\n\n- Added `alertDataHasLoaded()` to wait for the alerts table to finish\nloading before checking the button state\n- Wrapped the assertion in `retry.try()` to handle any remaining timing\nedge cases","sha":"8881709d182d0a632713194fab8f40c646565339","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","ci:project-deploy-observability","backport:version","v9.4.0","author:actionable-obs","v9.2.4","v9.1.10","v8.19.10"],"title":"[Flaky test] Observability alerts pagination - Previous page button is disabled","number":248044,"url":"https://github.com/elastic/kibana/pull/248044","mergeCommit":{"message":"[Flaky test] Observability alerts pagination - Previous page button is disabled (#248044)\n\nIt closes https://github.com/elastic/kibana/issues/233241.\n\n### Summary\n\nFixes intermittent test failure in `pagination.ts` where the test\n`'Previous page button is disabled'` would sometimes fail with:\n\n`Error: expected null to equal 'true'\n`\n### Problem\n\nThe test was checking the `disabled` attribute of the previous page\nbutton without waiting for the alert data to finish loading.\n\n### Solution\n\n- Added `alertDataHasLoaded()` to wait for the alerts table to finish\nloading before checking the button state\n- Wrapped the assertion in `retry.try()` to handle any remaining timing\nedge cases","sha":"8881709d182d0a632713194fab8f40c646565339"}},"sourceBranch":"main","suggestedTargetBranches":["9.2","9.1","8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/248044","number":248044,"mergeCommit":{"message":"[Flaky test] Observability alerts pagination - Previous page button is disabled (#248044)\n\nIt closes https://github.com/elastic/kibana/issues/233241.\n\n### Summary\n\nFixes intermittent test failure in `pagination.ts` where the test\n`'Previous page button is disabled'` would sometimes fail with:\n\n`Error: expected null to equal 'true'\n`\n### Problem\n\nThe test was checking the `disabled` attribute of the previous page\nbutton without waiting for the alert data to finish loading.\n\n### Solution\n\n- Added `alertDataHasLoaded()` to wait for the alerts table to finish\nloading before checking the button state\n- Wrapped the assertion in `retry.try()` to handle any remaining timing\nedge cases","sha":"8881709d182d0a632713194fab8f40c646565339"}},{"branch":"9.2","label":"v9.2.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.10","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.10","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Francesco Fagnani <[email protected]>
…tton is disabled (#248044) (#248223) # Backport This will backport the following commits from `main` to `9.1`: - [[Flaky test] Observability alerts pagination - Previous page button is disabled (#248044)](#248044) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Francesco Fagnani","email":"[email protected]"},"sourceCommit":{"committedDate":"2026-01-08T09:41:01Z","message":"[Flaky test] Observability alerts pagination - Previous page button is disabled (#248044)\n\nIt closes https://github.com/elastic/kibana/issues/233241.\n\n### Summary\n\nFixes intermittent test failure in `pagination.ts` where the test\n`'Previous page button is disabled'` would sometimes fail with:\n\n`Error: expected null to equal 'true'\n`\n### Problem\n\nThe test was checking the `disabled` attribute of the previous page\nbutton without waiting for the alert data to finish loading.\n\n### Solution\n\n- Added `alertDataHasLoaded()` to wait for the alerts table to finish\nloading before checking the button state\n- Wrapped the assertion in `retry.try()` to handle any remaining timing\nedge cases","sha":"8881709d182d0a632713194fab8f40c646565339","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","ci:project-deploy-observability","backport:version","v9.4.0","author:actionable-obs","v9.2.4","v9.1.10","v8.19.10"],"title":"[Flaky test] Observability alerts pagination - Previous page button is disabled","number":248044,"url":"https://github.com/elastic/kibana/pull/248044","mergeCommit":{"message":"[Flaky test] Observability alerts pagination - Previous page button is disabled (#248044)\n\nIt closes https://github.com/elastic/kibana/issues/233241.\n\n### Summary\n\nFixes intermittent test failure in `pagination.ts` where the test\n`'Previous page button is disabled'` would sometimes fail with:\n\n`Error: expected null to equal 'true'\n`\n### Problem\n\nThe test was checking the `disabled` attribute of the previous page\nbutton without waiting for the alert data to finish loading.\n\n### Solution\n\n- Added `alertDataHasLoaded()` to wait for the alerts table to finish\nloading before checking the button state\n- Wrapped the assertion in `retry.try()` to handle any remaining timing\nedge cases","sha":"8881709d182d0a632713194fab8f40c646565339"}},"sourceBranch":"main","suggestedTargetBranches":["9.2","9.1","8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/248044","number":248044,"mergeCommit":{"message":"[Flaky test] Observability alerts pagination - Previous page button is disabled (#248044)\n\nIt closes https://github.com/elastic/kibana/issues/233241.\n\n### Summary\n\nFixes intermittent test failure in `pagination.ts` where the test\n`'Previous page button is disabled'` would sometimes fail with:\n\n`Error: expected null to equal 'true'\n`\n### Problem\n\nThe test was checking the `disabled` attribute of the previous page\nbutton without waiting for the alert data to finish loading.\n\n### Solution\n\n- Added `alertDataHasLoaded()` to wait for the alerts table to finish\nloading before checking the button state\n- Wrapped the assertion in `retry.try()` to handle any remaining timing\nedge cases","sha":"8881709d182d0a632713194fab8f40c646565339"}},{"branch":"9.2","label":"v9.2.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.10","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.10","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Francesco Fagnani <[email protected]>
It closes #233241.
Summary
Fixes intermittent test failure in
pagination.tswhere the test'Previous page button is disabled'would sometimes fail with:Error: expected null to equal 'true'Problem
The test was checking the
disabledattribute of the previous page button without waiting for the alert data to finish loading.Solution
alertDataHasLoaded()to wait for the alerts table to finish loading before checking the button stateretry.try()to handle any remaining timing edge cases