-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Uptime] Unskip alert functional test #101562
Conversation
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.
Some minor nit, thanks for taking care of this.
@@ -7,10 +7,10 @@ | |||
|
|||
import expect from '@kbn/expect'; | |||
import { FtrProviderContext } from '../../ftr_provider_context'; | |||
const delay = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms)); |
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.
I think we don't need to maintain our own delay function. bluebird
exports one and it's used in other places.
@@ -124,7 +126,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { | |||
expect(timerangeUnit).to.be('h'); | |||
expect(timerangeCount).to.be(1); | |||
expect(JSON.stringify(filters)).to.eql( | |||
`{"url.port":["5678"],"observer.geo.name":["mpls"],"monitor.type":["http"],"tags":[]}` | |||
`{"tags":[],"url.port":["5678"],"observer.geo.name":["mpls"],"monitor.type":["http"]}` |
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.
Is there a need for this change or just the result of doing some testing?
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.
yes, seems like the order has changed.
schemes: alertParams.filters?.['monitor.type'] ?? [], | ||
}) | ||
); | ||
if (!window.location.pathname.includes('/app/uptime')) { |
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.
👍
Pinging @elastic/uptime (Team:uptime) |
💚 Build SucceededMetrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
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
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
Co-authored-by: Shahzad <[email protected]>
Summary
Fix #88177
Unskip uptime functional tests
Flaky test run https://kibana-ci.elastic.co/job/kibana+flaky-test-suite-runner/1615/