mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-01-28 14:14:08 +00:00
do forced wait instead
This commit is contained in:
@@ -56,8 +56,8 @@ for (const { name, databaseId, containerId, documents } of documentTestCases) {
|
|||||||
await expect(span).toBeVisible();
|
await expect(span).toBeVisible();
|
||||||
|
|
||||||
await span.click();
|
await span.click();
|
||||||
await expect(documentsTab.resultsEditor.locator).toBeAttached({ timeout: 60 * 1000 });
|
// await expect(documentsTab.resultsEditor.locator).toBeAttached({ timeout: 60 * 1000 });
|
||||||
// await page.waitForTimeout(5000); // wait for 5 seconds to ensure document is fully loaded. waitforTimeout is not recommended generally but here we are working around flakiness in the test env
|
await page.waitForTimeout(5000); // wait for 5 seconds to ensure document is fully loaded. waitforTimeout is not recommended generally but here we are working around flakiness in the test env
|
||||||
let newDocumentId;
|
let newDocumentId;
|
||||||
let retryCount = 0;
|
let retryCount = 0;
|
||||||
await retry(async () => {
|
await retry(async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user