mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-12 19:23:51 +00:00
Fix test after rebase
This commit is contained in:
parent
a2968d570e
commit
1a120cfe30
|
@ -19,8 +19,11 @@ test.describe('Logs', () => {
|
||||||
await page.goto('/logs', { waitUntil: 'networkidle' });
|
await page.goto('/logs', { waitUntil: 'networkidle' });
|
||||||
await Promise.all([logs, ping]);
|
await Promise.all([logs, ping]);
|
||||||
|
|
||||||
await expect(page.locator('textarea')).toBeVisible();
|
await expect(page.locator('span', { hasText: 'Checking exchange' })).toBeVisible();
|
||||||
await expect(page.locator('textarea')).toHaveValue(/Checking exchange.../, {});
|
await expect(page.locator('span', { hasText: 'Checking exchange' })).toHaveText(
|
||||||
|
/Checking exchange.../,
|
||||||
|
{},
|
||||||
|
);
|
||||||
// const logsPromise = page.waitForResponse('**/api/v1/logs');
|
// const logsPromise = page.waitForResponse('**/api/v1/logs');
|
||||||
const logsPromise = getWaitForResponse(page, '@Logs');
|
const logsPromise = getWaitForResponse(page, '@Logs');
|
||||||
await page.getByRole('button', { name: 'Reload Logs' }).click();
|
await page.getByRole('button', { name: 'Reload Logs' }).click();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user