click global new... button then collection in playwright tests

This commit is contained in:
Asier Isayas
2025-12-26 14:24:38 -05:00
parent ef1e26fc0c
commit 74363ddfe9
7 changed files with 14 additions and 8 deletions

View File

@@ -9,7 +9,8 @@ test("Gremlin graph CRUD", async ({ page }) => {
const explorer = await DataExplorer.open(page, TestAccount.Gremlin);
// Create new database and graph
await explorer.globalCommandButton("New Graph").click();
const newGraphButton = await explorer.globalCommandButton("New Graph");
await newGraphButton.click();
await explorer.whilePanelOpen(
"New Graph",
async (panel, okButton) => {