kibana/test/functional
Davis McPhee 80c142a5db
[Search] Fix unrecognized parameter: [indexType] error (#212707)
## Summary

This PR fixes an issue introduced in #208776 where switching from ES|QL
mode to classic mode in Discover caused the search request to fail with
an `unrecognized parameter: [indexType]` error. This was because the
`indexType` was actually being sent as part of the search request
`params` when it shouldn't have been.

We already had some rollup tests that would have caught it, but a
workaround was also added to the rollup search strategy to sidestep the
issue, preventing the tests from failing. That workaround has been
removed and existing ES|QL tests updated to catch the issue specifically
for ES|QL mode.

Fixes #212704.

### Checklist

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
2025-03-04 20:33:41 -04:00
..
apps [Search] Fix unrecognized parameter: [indexType] error (#212707) 2025-03-04 20:33:41 -04:00
firefox [Discover] Remove the legacy table (#201254) 2024-12-03 12:03:08 +01:00
fixtures [dashboard] remove legacy section from 'Add panel' flyout (#208116) 2025-01-30 12:22:51 -07:00
page_objects [Lens/SCSS] Replace expression legacy metric scss (#209546) 2025-03-03 11:34:35 +00:00
screenshots/baseline Functional tests - remove .empty file from screenshots dir (#200161) 2024-11-14 15:46:28 +01:00
services [Data View Field] Fix popularity score bugs (#211201) 2025-02-27 10:34:22 +00:00
config.base.js [kbn-scout] add test config category to reporting (#210167) 2025-02-12 11:17:04 +01:00
config.ccs.ts [Console] UX Improvements for phase 2 (#190698) 2024-09-17 16:35:20 +03:00
config.edge.js Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
ftr_provider_context.ts Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
jest.config.js Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
README.md Fix dead links to functional testing docs (#85097) 2020-12-14 17:00:53 +01:00

Kibana Functional Testing

See our Functional Testing Guide