[ ] Commits are signed per the DCO using --signoff
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.
Description
Follow up PR of https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8168 to add test to make sure queries and filters are persisted across refresh, and switching between new and legacy tables.
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.