Try clearing local storage via playwright page

This commit is contained in:
Laurent Nguyen 2024-11-05 20:43:08 +01:00
parent 976e5be19c
commit 3578ec8827
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ test.beforeAll("Create Test Database", async () => {
test.beforeEach("Open new query tab", async ({ page }) => {
// Clear previous settings
window.localStorage.removeItem(StorageKey[StorageKey.AppState]);
page.evaluate(() => localStorage.removeItem(StorageKey[StorageKey.AppState]));
// Open a query tab
explorer = await DataExplorer.open(page, TestAccount.SQL);