You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The serverless search UI tests suites search_index_details and start_elasticsearch started failing consistently when running on MKI. Combining them in one issue here as it seems to be the same root cause: assertions are expecting a mocked domain, which only works locally.
Failure details
search_index_details
serverless search UI Search index detail page index details page overview should have connection details*
Failure message:
Error: expected 'https://bk-serverless-ftr-3117-e10daaf3f19b-c7e3a5.es.eu-west-1.aws.qa.elastic.cloud:443' to equal 'https://fakeprojectid.es.fake-domain.cld.elstc.co:443'
at Assertion.assert (expect.js:100:11)
at Assertion.apply (expect.js:227:8)
at Assertion.be (expect.js:69:22)
at Object.expectConnectionDetails (svl_search_index_detail_page.ts:30:96)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Context. (search_index_detail.ts:54:9)
at Object.apply (wrap_function.js:74:16)
Failure screenshot:
start_elasticsearch
serverless search UI Elasticsearch Start [Onboarding Empty State] developer should have o11y links
Failure message:
Error: expected 'https://console.qa.cld.elstc.co/projects/create/observability/start' to equal 'https://fake-cloud.elastic.co/projects/create/observability/start'
at Assertion.assert (expect.js:100:11)
at Assertion.equal (expect.js:227:8)
at Object.expectO11yTrialLink (svl_search_elasticsearch_start_page.ts:88:76)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Context. (elasticsearch_start.ts:157:9)
at Object.apply (wrap_function.js:74:16)
Failure screenshot:
The text was updated successfully, but these errors were encountered:
…uites for MKI (#196982)
## Summary
This PR skips the serverless search test suites `start_elasticsearch`
and `search_index_details` in MKI runs.
See #196981
## Summary
Closes#196981
- Updated Search Index Details with data test suite to check for index
documents first, this should help reduce flakey tests in MKI since we
will ensure the documents are available before moving forward
- Updated URL checks to use regex instead `.equal` with the mocked
value. This should ensure the tests can pass in MKI and with integration
testing
- Removed the navigation check for the Maps page, this was causing
intermittent failures due to a modal on the page.
- Updated the getting started test suite to use `developer` role instead
of `admin`
### Checklist
- [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
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
The serverless search UI tests suites
search_index_details
andstart_elasticsearch
started failing consistently when running on MKI. Combining them in one issue here as it seems to be the same root cause: assertions are expecting a mocked domain, which only works locally.Failure details
search_index_details
Failure message:
Failure screenshot:
start_elasticsearch
serverless search UI Elasticsearch Start [Onboarding Empty State] developer should have o11y links
Failure message:
Failure screenshot:
The text was updated successfully, but these errors were encountered: