Fixed admin tests

* Increased timeout.

* Wait for disconnect only if no admintest.
This commit is contained in:
SamTV12345 2024-03-11 08:00:16 +01:00 committed by GitHub
parent c2699e4528
commit d8e0975f97
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 2 deletions

View file

@ -55,5 +55,6 @@ test.describe('admin settings',()=> {
const settings = page.locator('.settings');
await expect(settings).not.toBeEmpty();
await page.waitForSelector('.menu')
await page.waitForTimeout(5000)
});
})

View file

@ -66,6 +66,7 @@ test.describe('Plugins page', ()=> {
await expect(installedPluginsRows).toHaveCount(1, {
timeout: 15000
})
await page.waitForTimeout(5000)
})
})