dont refresh tree when opening scale & settings

This commit is contained in:
Asier Isayas
2026-01-21 08:06:18 -08:00
parent 80ad5f10d4
commit 3f01ce5ff0

View File

@@ -515,14 +515,14 @@ export class DataExplorer {
const containerNode = await this.waitForContainerNode(context.database.id, context.container.id); const containerNode = await this.waitForContainerNode(context.database.id, context.container.id);
await containerNode.expand(); await containerNode.expand();
// refresh tree to remove deleted database // // refresh tree to remove deleted database
const consoleMessages = await this.getNotificationConsoleMessages(); // const consoleMessages = await this.getNotificationConsoleMessages();
const refreshButton = this.frame.getByTestId("Sidebar/RefreshButton"); // const refreshButton = this.frame.getByTestId("Sidebar/RefreshButton");
await refreshButton.click(); // await refreshButton.click();
await expect(consoleMessages).toContainText("Successfully refreshed databases", { // await expect(consoleMessages).toContainText("Successfully refreshed databases", {
timeout: ONE_MINUTE_MS, // timeout: ONE_MINUTE_MS,
}); // });
await this.collapseNotificationConsole(); // await this.collapseNotificationConsole();
const scaleAndSettingsButton = this.frame.getByTestId( const scaleAndSettingsButton = this.frame.getByTestId(
`TreeNode:${context.database.id}/${context.container.id}/Scale & Settings`, `TreeNode:${context.database.id}/${context.container.id}/Scale & Settings`,