Skip to content

[9.2] [scout] fix flaky streams "discover integration" tests on MKI (#250396)#251700

Merged
dmlemeshko merged 5 commits intoelastic:9.2from
dmlemeshko:backport/9.2/pr-250396
Feb 6, 2026
Merged

[9.2] [scout] fix flaky streams "discover integration" tests on MKI (#250396)#251700
dmlemeshko merged 5 commits intoelastic:9.2from
dmlemeshko:backport/9.2/pr-250396

Conversation

@dmlemeshko
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 9.2:

Questions ?

Please refer to the Backport tool documentation

…c#250396)

## Summary

Fixing 2 flaky tests on MKI:

```
[serverless-oblt - Discover integration - Classic Stream - Navigate to Stream processing from document flyout - should navigate to Stream processing page from Discover document flyout in ES|QL mode]
[serverless-oblt - Discover integration - Wired Stream - Navigate to Stream processing from document flyout - should navigate to Stream processing page from Discover document flyout in ES|QL mode]
```

Error
```ts
Error: expect(locator).toBeVisible() failed

Locator: locator('[data-test-subj="kbnDocViewer"]')
Expected: visible
Timeout: 30000ms
Error: element(s) not found

Call log:
  - Expect "toBeVisible" with timeout 30000ms
  - waiting for locator('[data-test-subj="kbnDocViewer"]')

    at Proxy.waitForDocViewerFlyoutOpen (src/platform/packages/shared/kbn-scout/src/playwright/page_objects/discover_app.ts:127:29)
    at x-pack/platform/plugins/shared/streams_app/test/scout/ui/tests/discover_integration_classic.spec.ts:115:34
```

<img width="1280" height="720" alt="image"
src="https://github.com/user-attachments/assets/7b2f0ed6-9ad5-4139-a295-4096b97f5689"
/>

Another change to timepicker selection, it also failed on MKI

Tested in
https://buildkite.com/elastic/appex-qa-serverless-kibana-scout-tests/builds/117#_

---------

Co-authored-by: kibanamachine <[email protected]>
(cherry picked from commit eb6e38c)

# Conflicts:
#	src/platform/packages/shared/kbn-scout/src/playwright/page_objects/discover_app.ts
#	x-pack/platform/plugins/shared/streams_app/test/scout/ui/tests/data_management/data_processing/outdated_documents.spec.ts
#	x-pack/platform/plugins/shared/streams_app/test/scout/ui/tests/discover_integration_classic.spec.ts
#	x-pack/platform/plugins/shared/streams_app/test/scout/ui/tests/discover_integration_wired.spec.ts
@dmlemeshko dmlemeshko added the backport This PR is a backport of another PR label Feb 4, 2026
@dmlemeshko dmlemeshko enabled auto-merge (squash) February 4, 2026 15:45
@dmlemeshko dmlemeshko requested a review from csr February 4, 2026 19:20
auto-merge was automatically disabled February 5, 2026 10:45

Pull Request is not mergeable

@elasticmachine
Copy link
Copy Markdown
Contributor

⏳ Build in-progress, with failures

Failed CI Steps

History

@elasticmachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #94 / alerting api integration security and spaces enabled - Group 2 Connectors webhook action OAuth2 client credentials should refresh the token once the previous one has expired

Metrics [docs]

✅ unchanged

History

@dmlemeshko dmlemeshko merged commit 8a059d5 into elastic:9.2 Feb 6, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants