Replace UI cleanup step on toggle deprecation with api call #73142
Labels
Feature:Functional Testing
Feature:Upgrade Assistant
Team:Kibana Management
Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Team:QA
Team label for QA Team
test_xpack_functional
Describe the feature: The functional UI test
x-pack/test/functional/apps/upgrade_assistant/upgrade_assistant.ts
currently toggles the deprecation logging setting from it's initial default state of On, to Off for the test. And then toggles it back On to set it back into the default state.
It would be better if that last step was in the after method and if it used the API directly to Elasticsearch to set it On.
re: #70071
Describe a specific use case for the feature:
In general, it should be our common practice to clean up the test cluster using API calls. We do this in some cases like removing data with esArchiver, but we probably miss other cases like any cluster settings or security users and roles, or things in reporting index, etc.
/cc @rashmivkulkarni @cjcenizal @jloleysens
The text was updated successfully, but these errors were encountered: