Skip to content

[9.3] [scout] Migrate onboarding deployment-agnostic API tests (#259436)#260418

Merged
dmlemeshko merged 1 commit intoelastic:9.3from
dmlemeshko:backport/9.3/pr-259436
Mar 31, 2026
Merged

[9.3] [scout] Migrate onboarding deployment-agnostic API tests (#259436)#260418
dmlemeshko merged 1 commit intoelastic:9.3from
dmlemeshko:backport/9.3/pr-259436

Conversation

@dmlemeshko
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 9.3:

Questions ?

Please refer to the Backport tool documentation

)

## Summary

Migrates Observability onboarding deployment-agnostic API integration
coverage from the FTR suite
(`api_integration_deployment_agnostic/apis/onboarding`) to Scout API
tests under `observability_onboarding/test/scout/api`, with
`@kbn/scout-oblt` + `synthtrace` fixtures, `stateful` + `serverless`
tags, and auth aligned with the old FTR setup (cookies vs API keys where
behavior differs). Removes the FTR onboarding API loadTestFile bundle
and wires TypeScript Pattern A (test/scout/**/* in the plugin tsconfig +
Scout kbn_references) so plugin-relative imports stay valid.

| FTR file (removed) | Scout spec |
| --- | --- |
| `get_progress.ts` | `onboarding_flow_progress.spec.ts` |
| `update_progress.ts` | `onboarding_flow_update_progress_404.spec.ts` |
| `update_progress.ts` |
`onboarding_flow_update_progress_updates.spec.ts` |
| `custom_roles/index.ts` | *Inlined in
`onboarding_flow_progress.spec.ts` (least-privilege / `noAccessUserRole`
parity)* |

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit da2f01b)

# Conflicts:
#	.github/CODEOWNERS
#	x-pack/solutions/observability/plugins/observability_onboarding/moon.yml
#	x-pack/solutions/observability/plugins/observability_onboarding/tsconfig.json
@dmlemeshko dmlemeshko added the backport This PR is a backport of another PR label Mar 31, 2026
@dmlemeshko dmlemeshko enabled auto-merge (squash) March 31, 2026 09:38
@dmlemeshko dmlemeshko requested a review from a team March 31, 2026 09:40
@dmlemeshko dmlemeshko merged commit 73af082 into elastic:9.3 Mar 31, 2026
19 checks passed
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

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