Skip to content

[Discover][Traces] Fix flaky explore_from_slo Scout test#271976

Open
jorgeoliveira117 wants to merge 3 commits into
elastic:mainfrom
jorgeoliveira117:265040-failing-test-traces-in-discover---explore-from-slo---apm-availability-slo---view-events-link-opens-traces-experience-with-event-type-control
Open

[Discover][Traces] Fix flaky explore_from_slo Scout test#271976
jorgeoliveira117 wants to merge 3 commits into
elastic:mainfrom
jorgeoliveira117:265040-failing-test-traces-in-discover---explore-from-slo---apm-availability-slo---view-events-link-opens-traces-experience-with-event-type-control

Conversation

@jorgeoliveira117
Copy link
Copy Markdown
Contributor

Closes #265040

Summary

Fixes flaky Scout failure #265040 in explore_from_slo.spec.ts.

The APM availability SLO test navigates to the SLO History tab and asserts eventsChartPanel is visible. On cloud CI the page (SLO fetch + history charts) can take longer than Playwright’s default 10s expect timeout, so the assertion failed even when the UI was still loading normally.

Change: use a 30s timeout for eventsChartPanel and sliChartPanel visibility checks (same pattern as other traces Scout tests that use explicit CI budgets).

…odate longer loading times in cloud CI environments.
@jorgeoliveira117 jorgeoliveira117 added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting v9.5.0 labels May 29, 2026
@jorgeoliveira117 jorgeoliveira117 marked this pull request as ready for review May 29, 2026 17:38
@jorgeoliveira117 jorgeoliveira117 requested a review from a team as a code owner May 29, 2026 17:38
@jorgeoliveira117
Copy link
Copy Markdown
Contributor Author

/flaky scoutConfig:src/platform/plugins/shared/discover/test/scout/ui/parallel.playwright.config.ts:25

…lore-from-slo---apm-availability-slo---view-events-link-opens-traces-experience-with-event-type-control
@kibanamachine
Copy link
Copy Markdown
Contributor

Flaky Test Runner

✅ Build triggered - kibana-flaky-test-suite-runner#12517

  • src/platform/plugins/shared/discover/test/scout/ui/parallel.playwright.config.ts x25

@kibanamachine
Copy link
Copy Markdown
Contributor

Flaky Test Runner Stats

🟠 Some tests failed. - kibana-flaky-test-suite-runner#12517

[✅] src/platform/plugins/shared/discover/test/scout/ui/parallel.playwright.config.ts (--arch stateful --domain classic): 25/25 tests passed.
[✅] src/platform/plugins/shared/discover/test/scout/ui/parallel.playwright.config.ts (--arch serverless --domain search): 25/25 tests passed.
[❌] src/platform/plugins/shared/discover/test/scout/ui/parallel.playwright.config.ts (--arch serverless --domain observability_complete): 23/25 tests passed.
[✅] src/platform/plugins/shared/discover/test/scout/ui/parallel.playwright.config.ts (--arch serverless --domain security_complete): 25/25 tests passed.

see run history

…lore-from-slo---apm-availability-slo---view-events-link-opens-traces-experience-with-event-type-control
@lucaslopezf
Copy link
Copy Markdown
Contributor

Hey @jorgeoliveira117, the last timeout-related failure was on April 22. The subsequent failures were due to a more general issue (about a month ago). I'd suggest closing the issue with a message explaining that there has only been one timeout failure in the last 1.5 months, keeping an eye on it and closing this PR. What do you think?

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Saved Objects .kibana field count

Every field in each saved object type adds overhead to Elasticsearch. Kibana needs to keep the total field count below Elasticsearch's default limit of 1000 fields. Only specify field mappings for the fields you wish to search on or query. See https://www.elastic.co/guide/en/kibana/master/saved-objects-service.html#_mappings

id before after diff
_data_stream_timestamp 1 - -1
_doc_count 1 - -1
_ignored_source 1 - -1
_index_mode 1 - -1
_inference_fields 1 - -1
_tier 1 - -1
accessControl 2 - -2
apm-custom-dashboards 5 - -5
apm-server-schema 2 - -2
apm-service-group 5 - -5
application_usage_daily 2 - -2
cloud-connect-api-key 5 - -5
config 2 - -2
config-global 2 - -2
coreMigrationVersion 1 - -1
created_at 1 - -1
created_by 1 - -1
data_stream-config 9 - -9
entity-definition 9 - -9
entity-discovery-api-key 2 - -2
entity-engine-descriptor-v2 23 - -23
event_loop_delays_daily 2 - -2
favorites 4 - -4
file 11 - -11
file-upload-usage-collection-telemetry 3 - -3
fileShare 5 - -5
infra-custom-dashboards 4 - -4
infrastructure-monitoring-log-view 2 - -2
integration-config 7 - -7
intercept_trigger_record 5 - -5
legacy-url-alias 7 - -7
managed 1 - -1
ml-job 6 - -6
ml-module 13 - -13
ml-trained-model 7 - -7
monitoring-telemetry 2 - -2
namespace 1 - -1
namespaces 1 - -1
observability-onboarding-state 2 - -2
originId 1 - -1
product-doc-install-status 8 - -8
references 4 - -4
sample-data-telemetry 3 - -3
security-ai-prompt 8 - -8
slo 11 - -11
slo_template 4 - -4
slo-composite 14 - -14
space 5 - -5
synthetics-monitor 34 - -34
synthetics-monitor-multi-space 34 - -34
tag 4 - -4
type 1 - -1
typeMigrationVersion 1 - -1
ui-metric 2 - -2
updated_at 1 - -1
updated_by 1 - -1
upgrade-assistant-ml-upgrade-operation 3 - -3
upgrade-assistant-reindex-operation 3 - -3
uptime-synthetics-api-key 2 - -2
url 5 - -5
usage-counters 2 - -2
user-storage 2 - -2
user-storage-global 2 - -2
total -315

History

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes v9.5.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failing test: Traces in Discover - Explore from SLO - APM availability SLO - "View events" link opens traces experience with event type control

3 participants