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
Bug 2002387: updating user settings storage to local in cypress hooks for dev-console plugin #10022
Conversation
@makambalaji: This pull request references Bugzilla bug 2002387, which is invalid:
Comment In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: makambalaji The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@makambalaji: No Bugzilla bug is referenced in the title of this pull request. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@makambalaji: This pull request references Bugzilla bug 2002387, which is invalid:
Comment In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@makambalaji: This pull request references Bugzilla bug 2002387, which is invalid:
Comment In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/bugzilla refresh |
@makambalaji: This pull request references Bugzilla bug 2002387, which is invalid:
Comment In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/bugzilla refresh |
@makambalaji: This pull request references Bugzilla bug 2002387, which is valid. 3 validation(s) were run on this bug
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/hold I'm nervous about not having test coverage of the user settings config map, particularly since we generally run with localStorage during development. Is this issue that tests can break when run against a shared cluster, or do we just want to reset user settings between tests? |
@spadgett - Test cases are already designed for user settings related feature, In CI - Due to this feature[previous user settings are saved], Tests are getting flaky. To avoid this, setting user settings to "local storage". So that there won't be any issue. |
We need to be testing user settings saved in config map in CI. If previous settings are causing problem, it would be better to delete the config map between tests. |
Overall if a test isn't reproducible due to preserved state then the test itself isn't correctly written to do a proper setup and /or tear down. A test should be capable of running no matter what current system state. |
We can delete it, but this increases the execution time on CI. If still needs to proceed, yes we can delete config maps |
It can be an |
@makambalaji do you want update this PR/bug to delete the complete ConfigMap or should we check if the tests tear down correctly? Scenarios which could make issues:
Do we have other hacks (for example for the perspective switch clicks many times if I'm correct) which could benefit if we have always a clear state? Could we remove "magic code" if we add a |
Closing this pr and will create a new pr with different bug id |
@makambalaji: This pull request references Bugzilla bug 2002387. The bug has been updated to no longer refer to the pull request using the external bug tracker. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Description:
Currently modifications made by user are getting stored in user settings config map. So setting up the user settings storage to "local storage" instead user settings config map
Updating project dropdown locators