refresh tree before opening scale and settings

This commit is contained in:
Asier Isayas
2025-12-30 11:22:23 -05:00
parent 1736e24429
commit 459b2c7050
4 changed files with 8 additions and 11 deletions

View File

@@ -457,6 +457,10 @@ export class DataExplorer {
/** Opens the Scale & Settings panel for the specified container */
async openScaleAndSettings(context: TestContainerContext): Promise<void> {
// refresh tree to remove deleted database
const refreshButton = this.frame.getByTestId("Sidebar/RefreshButton");
await refreshButton.click();
const containerNode = await this.waitForContainerNode(context.database.id, context.container.id);
await containerNode.expand();