Skip to content

Commit 9d87e1a

Browse files
[8.19] search: functional test migration for ska (#220382) (#220425)
# Backport This will backport the following commits from `main` to `8.19`: - [search: functional test migration for ska (#220382)](#220382) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Rodney Norris","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-05-07T18:37:55Z","message":"search: functional test migration for ska (#220382)\n\n## Summary\n\nMigrate functional tests for stateful search solution to new config.\nPart of https://github.com/elastic/kibana-team/issues/1503\n\n### Checklist\n\n- [ ] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [ ] [Flaky Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\nused on any tests changed","sha":"c2c356567d334f5e85d22f7748a12ced3919557a","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Search","backport:version","v9.1.0","v8.19.0"],"title":"search: functional test migration for ska","number":220382,"url":"https://github.com/elastic/kibana/pull/220382","mergeCommit":{"message":"search: functional test migration for ska (#220382)\n\n## Summary\n\nMigrate functional tests for stateful search solution to new config.\nPart of https://github.com/elastic/kibana-team/issues/1503\n\n### Checklist\n\n- [ ] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [ ] [Flaky Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\nused on any tests changed","sha":"c2c356567d334f5e85d22f7748a12ced3919557a"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/220382","number":220382,"mergeCommit":{"message":"search: functional test migration for ska (#220382)\n\n## Summary\n\nMigrate functional tests for stateful search solution to new config.\nPart of https://github.com/elastic/kibana-team/issues/1503\n\n### Checklist\n\n- [ ] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [ ] [Flaky Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\nused on any tests changed","sha":"c2c356567d334f5e85d22f7748a12ced3919557a"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
1 parent 3fcdf27 commit 9d87e1a

File tree

5 files changed

+9
-2
lines changed

5 files changed

+9
-2
lines changed

.buildkite/ftr_platform_stateful_configs.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,6 @@ enabled:
263263
- x-pack/test/functional_cloud/config.ts
264264
- x-pack/test/functional_cloud/saml.config.ts
265265
- x-pack/test/functional_solution_sidenav/config.ts
266-
- x-pack/test/functional_search/config.ts
267266
- x-pack/test/kubernetes_security/basic/config.ts
268267
- x-pack/test/licensing_plugin/config.public.ts
269268
- x-pack/test/licensing_plugin/config.ts

.buildkite/ftr_search_stateful_configs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,8 @@ disabled:
66
- x-pack/test/functional_enterprise_search/cypress.config.ts
77
- x-pack/test/functional_enterprise_search/visual_config.ts
88
- x-pack/test/functional_enterprise_search/cli_config.ts
9+
10+
defaultQueue: 'n2-4-spot'
11+
enabled:
12+
- x-pack/test/functional_search/config.ts
913
- x-pack/test/functional/apps/search_playground/config.ts

x-pack/test/functional/apps/search_playground/playground_overview.ess.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default function (ftrContext: FtrProviderContext) {
4242
describe('Playground', () => {
4343
before(async () => {
4444
proxy = await createLlmProxy(log);
45-
await pageObjects.common.navigateToApp('enterpriseSearchApplications/playground');
45+
await pageObjects.common.navigateToApp('searchPlayground');
4646
});
4747

4848
after(async () => {

x-pack/test/functional/config.base.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,9 @@ export default async function ({ readConfigFile }) {
195195
enterpriseSearch: {
196196
pathname: '/app/elasticsearch/overview',
197197
},
198+
searchPlayground: {
199+
pathname: '/app/search_playground',
200+
},
198201
},
199202

200203
suiteTags: {

x-pack/test/functional/page_objects/search_playground_page.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ export function SearchPlaygroundPageProvider({ getService }: FtrProviderContext)
230230
await testSubjects.click('chatMode');
231231
await testSubjects.click('queryMode');
232232
await testSubjects.existOrFail('field-baz-false');
233+
await testSubjects.click('chatMode');
233234
},
234235

235236
async clickManageButton() {

0 commit comments

Comments
 (0)