[Synthetics] migrate first set of tests#198950
[Synthetics] migrate first set of tests#198950dominiqueclarke merged 31 commits intoelastic:mainfrom
Conversation
|
/ci |
…ynthetics-deployment-agnostic
| const { apiKey, isValid } = await getAPIKeyForSyntheticsService({ server: this.server }); | ||
| if (!isValid) { | ||
| // do not check for api key validity if inspecting | ||
| if (!isValid && !inspect) { |
There was a problem hiding this comment.
I noticed when I was adjusting the inspect tests, that they would sometime fail on api key not valid. No need to check api key when doing an inspect.
x-pack/test/api_integration/apis/synthetics/add_monitor_private_location.ts
Outdated
Show resolved
Hide resolved
x-pack/test/api_integration/apis/synthetics/add_monitor_private_location.ts
Outdated
Show resolved
Hide resolved
| import { getFixtureJson } from './helpers/get_fixture_json'; | ||
| import { SyntheticsMonitorTestService } from '../../../services/synthetics_monitor'; | ||
|
|
||
| // adjust the type of samlAuth |
There was a problem hiding this comment.
I realized I left this as a comment for myself because samlAuth is set to any here. Didn't get to fixing it.
There was a problem hiding this comment.
I like to preface comments like this with TODO to signify that the PR has new tech debt to resolve before merging.
It's a nice reminder to the author themselves and it gives a much stronger indicator to reviewers that something is unfinished.
|
/ci |
…iniqueclarke/kibana into chore/synthetics-deployment-agnostic
|
/ci |
|
/ci |
...st/api_integration/deployment_agnostic/apis/observability/synthetics/create_update_params.ts
Outdated
Show resolved
Hide resolved
…lity/synthetics/create_update_params.ts
|
/ci |
|
/ci |
…iniqueclarke/kibana into chore/synthetics-deployment-agnostic
|
/ci |
💚 Build Succeeded
Metrics [docs]Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
|
| this.supertest = getService('supertestWithoutAuth'); | ||
| this.samlAuth = getService('samlAuth'); | ||
| this.getService = getService; | ||
| this.supertestWithoutAuth = getService('supertestWithoutAuth'); |
There was a problem hiding this comment.
Looks like it's still imported twice?
|
Starting backport for target branches: 8.17, 8.x https://github.com/elastic/kibana/actions/runs/12298691592 |
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
## Summary Relates to elastic#196229 Migrates Synthetics tests to deployment agnostic --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Shahzad <shahzad31comp@gmail.com> (cherry picked from commit b74b935) # Conflicts: # .github/CODEOWNERS # x-pack/test/api_integration/deployment_agnostic/default_configs/serverless.config.base.ts
# Backport This will backport the following commits from `main` to `8.x`: - [[Synthetics] migrate first set of tests (#198950)](#198950) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Dominique Clarke","email":"dominique.clarke@elastic.co"},"sourceCommit":{"committedDate":"2024-12-12T14:41:03Z","message":"[Synthetics] migrate first set of tests (#198950)\n\n## Summary\r\n\r\nRelates to #196229 \r\n\r\nMigrates Synthetics tests to deployment agnostic\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Shahzad <shahzad31comp@gmail.com>","sha":"b74b93593cecec34e2745c30811c6929bf8a72c7","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","release_note:skip","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-management","v8.17.0"],"number":198950,"url":"https://github.com/elastic/kibana/pull/198950","mergeCommit":{"message":"[Synthetics] migrate first set of tests (#198950)\n\n## Summary\r\n\r\nRelates to #196229 \r\n\r\nMigrates Synthetics tests to deployment agnostic\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Shahzad <shahzad31comp@gmail.com>","sha":"b74b93593cecec34e2745c30811c6929bf8a72c7"}},"sourceBranch":"main","suggestedTargetBranches":["8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/198950","number":198950,"mergeCommit":{"message":"[Synthetics] migrate first set of tests (#198950)\n\n## Summary\r\n\r\nRelates to #196229 \r\n\r\nMigrates Synthetics tests to deployment agnostic\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Shahzad <shahzad31comp@gmail.com>","sha":"b74b93593cecec34e2745c30811c6929bf8a72c7"}},{"branch":"8.17","label":"v8.17.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
2 similar comments
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
Summary
Relates to #196229
Migrates Synthetics tests to deployment agnostic