Avoid opening tab path tooltips during automatic focus (#2601)

* Prevent tab tooltips opening on automatic focus

* Target expand icons in E2E tree navigation
This commit is contained in:
Vsevolod Kukol
2026-09-30 17:15:26 +02:00
committed by GitHub
parent 7113bc6a8f
commit a70971d9c2
5 changed files with 133 additions and 7 deletions
+5 -2
View File
@@ -1,6 +1,6 @@
import { expect, test, type Page } from "@playwright/test";
import { CommandBarButton, DataExplorer, TestAccount } from "../fx";
import { CommandBarButton, DataExplorer, generateUniqueName, TestAccount } from "../fx";
import { createTestSQLContainer, TestContainerContext } from "../testData";
// Test container context for setup and cleanup
@@ -10,7 +10,10 @@ let CONTAINER_ID: string;
// Set up test database and container with data before all tests
test.beforeAll(async () => {
testContainer = await createTestSQLContainer({ includeTestData: true });
testContainer = await createTestSQLContainer({
includeTestData: true,
databaseName: generateUniqueName("db_tab_tooltip_with_a_long_resource_name"),
});
DATABASE_ID = testContainer.database.id;
CONTAINER_ID = testContainer.container.id;
});