mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 02:11:57 +00:00
Use improved locator syntax
This commit is contained in:
parent
e619f04f86
commit
2f455af8eb
|
@ -47,10 +47,10 @@ test.describe('Trade', () => {
|
||||||
|
|
||||||
// // Check visibility of elements
|
// // Check visibility of elements
|
||||||
await expect(page.locator('.drag-header', { hasText: 'Multi Pane' })).toBeInViewport();
|
await expect(page.locator('.drag-header', { hasText: 'Multi Pane' })).toBeInViewport();
|
||||||
await expect(page.locator('.drag-header:has-text("Chart")')).toBeInViewport();
|
await expect(page.locator('.drag-header', { hasText: 'Chart' })).toBeInViewport();
|
||||||
// Pairlist elements
|
// Pairlist elements
|
||||||
await expect(page.locator('button:has-text("BTC/USDT")')).toBeInViewport();
|
await expect(page.locator('button', { hasText: 'BTC/USDT' })).toBeInViewport();
|
||||||
await expect(page.locator('button:has-text("ETH/USDT")')).toBeInViewport();
|
await expect(page.locator('button', { hasText: 'ETH/USDT' })).toBeInViewport();
|
||||||
|
|
||||||
// // Click on Performance button and wait for response
|
// // Click on Performance button and wait for response
|
||||||
await Promise.all([
|
await Promise.all([
|
||||||
|
|
Loading…
Reference in New Issue
Block a user