mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 02:11:57 +00:00
Reorg trade test
This commit is contained in:
parent
faf03f7738
commit
6463fea8d8
|
@ -26,13 +26,15 @@ function tradeMocks(page) {
|
|||
});
|
||||
}
|
||||
|
||||
test('Trade', async ({ page }) => {
|
||||
test.describe('Trade', () => {
|
||||
test.beforeEach(async ({ page }) => {
|
||||
await defaultMocks(page);
|
||||
await setLoginInfo(page);
|
||||
|
||||
await tradeMocks(page);
|
||||
await page.goto('/trade');
|
||||
|
||||
});
|
||||
test('Trade page', async ({ page }) => {
|
||||
// Wait for network requests
|
||||
// await page.waitForResponse('**/ping');
|
||||
await page.waitForResponse('**/status');
|
||||
|
@ -140,3 +142,4 @@ test('Trade', async ({ page }) => {
|
|||
await expect(chartHeader).toBeInViewport();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user