increase test timeout

This commit is contained in:
Sung-Hyun Kang (from Dev Box) 2023-11-10 15:15:28 -06:00
parent 58aff4f07b
commit e626f5218d
2 changed files with 4 additions and 2 deletions

View File

@ -38,7 +38,7 @@ import * as StringUtility from "../../../Shared/StringUtility";
async function fetchWithTimeout(url: string, headers: {
[x: string]: string;
}) {
const timeout = 8000;
const timeout = 10000;
const options = { timeout };
const controller = new AbortController();

View File

@ -42,5 +42,7 @@ test("Resource token", async () => {
const explorer = await page.frame({
name: "explorer",
});
await explorer.textContent(`css=.dataResourceTree >> "${collectionId}"`);
await explorer.textContent(`css=.dataResourceTree >> "${collectionId}"`, {
timeout: 50000
});
});