Skip to content

[8.19] [Synthetics] Migrate synthetics alerting API tests to deployment agnostic solution (#221139)#221908

Merged
cesco-f merged 1 commit intoelastic:8.19from
cesco-f:backport/8.19/pr-221139
May 29, 2025
Merged

[8.19] [Synthetics] Migrate synthetics alerting API tests to deployment agnostic solution (#221139)#221908
cesco-f merged 1 commit intoelastic:8.19from
cesco-f:backport/8.19/pr-221139

Conversation

@cesco-f
Copy link
Contributor

@cesco-f cesco-f commented May 29, 2025

Backport

This will backport the following commits from main to 8.19:

Questions ?

Please refer to the Backport tool documentation

…stic solution (elastic#221139)

This PR closes elastic#212954.

Synthetics alerting API tests have been migrated to deployment agnostic
solution.

### Serverless
```
node scripts/functional_tests_server --config x-pack/test/api_integration/deployment_agnostic/configs/serverless/oblt.serverless.config.ts

node scripts/functional_test_runner --config x-pack/test/api_integration/deployment_agnostic/configs/serverless/oblt.serverless.config.ts --grep="Synthetics Alerting"
```

### Stateful
```
node scripts/functional_tests_server --config x-pack/test/api_integration/deployment_agnostic/configs/stateful/oblt.stateful.config.ts

node scripts/functional_test_runner --config x-pack/test/api_integration/deployment_agnostic/configs/stateful/oblt.stateful.config.ts --grep="Synthetics Alerting"
```

(cherry picked from commit fdebd18)

# Conflicts:
#	x-pack/test/api_integration/deployment_agnostic/apis/observability/alerting/index.ts
#	x-pack/test/api_integration/deployment_agnostic/apis/observability/alerting/synthetics/custom_status_rule.ts
#	x-pack/test/api_integration/deployment_agnostic/default_configs/serverless.config.base.ts
#	x-pack/test/api_integration/deployment_agnostic/default_configs/stateful.config.base.ts
#	x-pack/test/api_integration/deployment_agnostic/services/alerting_api.ts
@cesco-f cesco-f requested a review from kibanamachine as a code owner May 29, 2025 10:44
@cesco-f cesco-f added the backport This PR is a backport of another PR label May 29, 2025
@cesco-f cesco-f enabled auto-merge (squash) May 29, 2025 10:44
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Unknown metric groups

ESLint disabled line counts

id before after diff
@kbn/test-suites-xpack 751 749 -2

Total ESLint disabled count

id before after diff
@kbn/test-suites-xpack 774 772 -2

@mgiota mgiota self-requested a review May 29, 2025 15:15
@cesco-f cesco-f merged commit 31748af into elastic:8.19 May 29, 2025
11 checks passed
@cesco-f cesco-f deleted the backport/8.19/pr-221139 branch May 30, 2025 07:08
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