[Api Integration] enhance of test/api_integration/apis/index_patterns tests #87309
Labels
Feature:Data Views
Data Views code and UI - index patterns before 8.0
impact:low
Addressing this issue will have a low level of impact on the quality/strength of our product.
loe:small
Small Level of Effort
Team:DataDiscovery
Discover App Team (Document Explorer, Saved Search, Surrounding documents, Data, DataViews)
test-api-integration
During execution of
test/api_integration/apis/index_patterns
integration tests I see a lot of errors in Kibana server console.It happens cause all of that tests are based on not-existing
ES
index. To avoid this error before creating Kibana index you should load some data intoES
usingesArchiver
service.Example of using
esArchiver
you can find here: https:/elastic/kibana/blob/60543b19de916f13f30164a0903eccd4f1de07ba/test/api_integration/apis/index_patterns/scripted_fields_crud/delete_scripted_field/errors.tsAlso all created Kibana indexes should be removed after the test suite has finished running. This does not happen for these tests:
The text was updated successfully, but these errors were encountered: