Attempt 2 at troubleshooting failing test
This commit is contained in:
parent
82410f30b9
commit
3e51a593bf
|
@ -40,7 +40,9 @@ test("Mongo CRUD", async () => {
|
||||||
await explorer.fill('text=* Confirm by typing the collection id >> input[type="text"]', containerId);
|
await explorer.fill('text=* Confirm by typing the collection id >> input[type="text"]', containerId);
|
||||||
await explorer.click('[aria-label="OK"]');
|
await explorer.click('[aria-label="OK"]');
|
||||||
await explorer.click(`[data-test="${databaseId}"] [aria-label="More options"]`);
|
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 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.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.fill('text=* Confirm by typing the database id >> input[type="text"]', databaseId);
|
||||||
await explorer.click("#sidePanelOkButton");
|
await explorer.click("#sidePanelOkButton");
|
||||||
|
|
Loading…
Reference in New Issue