From 7b65431a95a910b8aa8446b59f3913f8df240e17 Mon Sep 17 00:00:00 2001 From: Angie Jones Date: Tue, 2 Jul 2024 18:36:51 -0500 Subject: [PATCH] increasing test timeout (#1457) * increasing test timeout * global config --- .../tutorials/dinger-completed/dinger-completed-test.spec.js | 2 +- examples/util/default-playwright-config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/tutorials/dinger-completed/dinger-completed-test.spec.js b/examples/tutorials/dinger-completed/dinger-completed-test.spec.js index 2e9fcb1ab..8e6e8cac6 100644 --- a/examples/tutorials/dinger-completed/dinger-completed-test.spec.js +++ b/examples/tutorials/dinger-completed/dinger-completed-test.spec.js @@ -17,7 +17,7 @@ const checkHeading = async (page) => { }; const checkCopyDIDButton = async (page) => { - await expect(page.locator('#copy-did-button')).toBeVisible({ timeout: 20000 }); + await expect(page.locator('#copy-did-button')).toBeVisible({ timeout: 40000 }); }; test.describe('Next.js app renders - Dinger Chat', () => { diff --git a/examples/util/default-playwright-config.js b/examples/util/default-playwright-config.js index d71608d45..83471a5a9 100644 --- a/examples/util/default-playwright-config.js +++ b/examples/util/default-playwright-config.js @@ -1,7 +1,7 @@ const { devices } = require('playwright/test'); module.exports = { - timeout: 20000, + timeout: 40000, use: { browserName: 'chromium', headless: true,