appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
34.7k stars 3.75k forks source link

[Task]: Test cases for action selector: clearStore() #37160

Open rohan-arthur opened 3 weeks ago

rohan-arthur commented 3 weeks ago

SubTasks

refer here for full test case descriptions


- [x] Test if the clearStore() function successfully clears all key-value pairs from local storage.
- [x] Test the behavior of clearStore() when no values are stored in local storage. The function should not throw any errors, and local storage should remain empty.
- [ ] Ensure both persistent and session-specific stored values are cleared when clearStore() is called.
- [ ] Ensure that clearStore() only removes values stored by the application and does not affect other unrelated data in the browser's local storage.
- [ ] Ensure that clearStore() only affects the current tab's storage and does not inadvertently impact session storage across tabs.
- [ ] Test the function using JS Objects as well as the action selector in property pane
- [ ] Test the functionality in deploy mode
github-actions[bot] commented 3 weeks ago

We have found issues that are potential duplicates:

github-actions[bot] commented 3 weeks ago

We have found issues that are potential duplicates: