mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-05-16 10:17:27 +01:00
Move restore flag behind feature flag. Whitelist restorable tabs in for Fabric. Restore e2e tests.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import { expect, test } from "@playwright/test";
|
||||
|
||||
import { StorageKey } from "../../src/Shared/StorageUtility";
|
||||
import { DataExplorer, Editor, QueryTab, TestAccount } from "../fx";
|
||||
import { TestContainerContext, TestItem, createTestSQLContainer } from "../testData";
|
||||
|
||||
@@ -17,9 +16,6 @@ test.beforeEach("Open new query tab", async ({ page }) => {
|
||||
// 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();
|
||||
|
||||
Reference in New Issue
Block a user