mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-07-01 01:24:35 +01:00
increase test timeout
This commit is contained in:
parent
58aff4f07b
commit
e626f5218d
@ -38,7 +38,7 @@ import * as StringUtility from "../../../Shared/StringUtility";
|
|||||||
async function fetchWithTimeout(url: string, headers: {
|
async function fetchWithTimeout(url: string, headers: {
|
||||||
[x: string]: string;
|
[x: string]: string;
|
||||||
}) {
|
}) {
|
||||||
const timeout = 8000;
|
const timeout = 10000;
|
||||||
const options = { timeout };
|
const options = { timeout };
|
||||||
|
|
||||||
const controller = new AbortController();
|
const controller = new AbortController();
|
||||||
|
@ -42,5 +42,7 @@ test("Resource token", async () => {
|
|||||||
const explorer = await page.frame({
|
const explorer = await page.frame({
|
||||||
name: "explorer",
|
name: "explorer",
|
||||||
});
|
});
|
||||||
await explorer.textContent(`css=.dataResourceTree >> "${collectionId}"`);
|
await explorer.textContent(`css=.dataResourceTree >> "${collectionId}"`, {
|
||||||
|
timeout: 50000
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user