0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-03-10 22:22:45 -05:00

refactor(test): increase UI test timeout (#3555)

This commit is contained in:
Gao Sun 2023-03-21 10:38:52 +08:00 committed by GitHub
parent 5ebc51500c
commit 999f8d8b01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@ import { setDefaultOptions } from 'expect-puppeteer';
import { logtoCloudUrl as logtoCloudUrlString, logtoConsoleUrl } from '#src/constants.js';
import { generatePassword } from '#src/utils.js';
setDefaultOptions({ timeout: 1000 });
setDefaultOptions({ timeout: 2000 });
/**
* NOTE: This test suite assumes test cases will run sequentially (which is Jest default).

View file

@ -5,7 +5,7 @@ import { setDefaultOptions } from 'expect-puppeteer';
import { logtoConsoleUrl as logtoConsoleUrlString } from '#src/constants.js';
import { generatePassword } from '#src/utils.js';
setDefaultOptions({ timeout: 1000 });
setDefaultOptions({ timeout: 2000 });
const appendPathname = (pathname: string, baseUrl: URL) =>
new URL(path.join(baseUrl.pathname, pathname), baseUrl);