mirror of
https://github.com/logto-io/logto.git
synced 2024-12-30 20:33:54 -05:00
test: sleep 1s before each case to improve ui test stability
This commit is contained in:
parent
c52a66a32d
commit
2c849db831
1 changed files with 5 additions and 1 deletions
|
@ -5,7 +5,11 @@ describe('smoke testing', () => {
|
|||
const consoleUsername = 'admin';
|
||||
const consolePassword = generatePassword();
|
||||
|
||||
it('opens with app element and navigates to sign-in page', async () => {
|
||||
beforeEach(async () => {
|
||||
await page.waitForTimeout(1000);
|
||||
});
|
||||
|
||||
it('opens with app element and navigates to welcome page', async () => {
|
||||
await page.goto(logtoUrl);
|
||||
await page.waitForNavigation({ waitUntil: 'networkidle0' });
|
||||
|
||||
|
|
Loading…
Reference in a new issue