From 3e51a593bf2001d44b6e5316d4865e6e861c21c3 Mon Sep 17 00:00:00 2001 From: Laurent Nguyen Date: Thu, 16 May 2024 18:19:12 +0200 Subject: [PATCH] Attempt 2 at troubleshooting failing test --- test/mongo/container.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/mongo/container.spec.ts b/test/mongo/container.spec.ts index baafefbbe..10cbd2ddc 100644 --- a/test/mongo/container.spec.ts +++ b/test/mongo/container.spec.ts @@ -40,7 +40,9 @@ test("Mongo CRUD", async () => { await explorer.fill('text=* Confirm by typing the collection id >> input[type="text"]', containerId); await explorer.click('[aria-label="OK"]'); await explorer.click(`[data-test="${databaseId}"] [aria-label="More options"]`); + await page.screenshot({ path: "beforeDeleteDatabase.png" }); await explorer.click('button[role="menuitem"]:has-text("Delete Database")'); + await page.screenshot({ path: "afterDeleteDatabase.png" }); await explorer.click('text=* Confirm by typing the database id >> input[type="text"]'); await explorer.fill('text=* Confirm by typing the database id >> input[type="text"]', databaseId); await explorer.click("#sidePanelOkButton");