mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-02-16 17:25:58 +00:00
Clear local storage after opening page
This commit is contained in:
parent
3578ec8827
commit
846cc105d7
@ -14,12 +14,12 @@ test.beforeAll("Create Test Database", async () => {
|
||||
});
|
||||
|
||||
test.beforeEach("Open new query tab", async ({ page }) => {
|
||||
// Clear previous settings
|
||||
page.evaluate(() => localStorage.removeItem(StorageKey[StorageKey.AppState]));
|
||||
|
||||
// Open a query tab
|
||||
explorer = await DataExplorer.open(page, TestAccount.SQL);
|
||||
|
||||
// Clear previous settings
|
||||
page.evaluate(() => localStorage.removeItem(StorageKey[StorageKey.AppState]));
|
||||
|
||||
// Container nodes should be visible. The explorer auto-expands database nodes when they are first loaded.
|
||||
const containerNode = await explorer.waitForContainerNode(context.database.id, context.container.id);
|
||||
await containerNode.openContextMenu();
|
||||
|
Loading…
x
Reference in New Issue
Block a user