Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have to click save after resetting advanced setting to default #59216

Merged
merged 2 commits into from
Mar 4, 2020

Conversation

LeeDr
Copy link

@LeeDr LeeDr commented Mar 3, 2020

Summary

A UI change at some point changed the behavior of resetting an advanced setting. In older versions like 7.5, if you clicked Reset to default on an advanced setting it instantly saved it (or maybe it clears the setting from the config?). But on master, you now have to click Save.

This test test/functional/apps/visualize/_lab_mode.js has an after method which calls PageObjects.settings.clearAdvancedSettings('visualize:enableLabs');. But since that settings_page method wasn't clicking the Save button it really wasn't resetting it to the default.
This would cause the vega tests to fail if they are run all together like locally running all the visualize tests. This isn't causing failures on Jenkins only because the lab_mode test is in one ciGroup and the vega test is in another ciGroup, so it starts with the default settings.

Checklist

Delete any items that are not applicable to this PR.

@LeeDr LeeDr added test_ui_functional v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.7.0 Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc labels Mar 3, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-platform (Team:Platform)

@LeeDr
Copy link
Author

LeeDr commented Mar 4, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@LeeDr LeeDr requested review from joshdover and dmlemeshko March 4, 2020 14:58
Copy link
Member

@dmlemeshko dmlemeshko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test change LGTM

@LeeDr
Copy link
Author

LeeDr commented Mar 4, 2020

NOTE: Someone pointed out the change PR (linked in the Summary section). So I know this PR needs to go into 7.7 as well.

@LeeDr LeeDr merged commit 455b2f5 into elastic:master Mar 4, 2020
LeeDr pushed a commit that referenced this pull request Mar 4, 2020
… (#59339)

Co-authored-by: Elastic Machine <[email protected]>

Co-authored-by: Elastic Machine <[email protected]>
@LeeDr LeeDr deleted the saveAdvancedReset branch August 20, 2020 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc test_ui_functional v7.7.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants