Add bitaxe icon and modify tests for it
This commit is contained in:
parent
266a99be96
commit
eff18ba0c3
4 changed files with 27 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
import { test, expect } from '@playwright/test';
|
||||
|
||||
import { initMock, settingsJson } from '../shared';
|
||||
import { initMock, settingsJson, statusJson } from '../shared';
|
||||
|
||||
test.beforeEach(initMock);
|
||||
|
||||
|
@ -69,6 +69,9 @@ test('capture screenshots across devices with bitaxe screens', async ({ page },
|
|||
}
|
||||
];
|
||||
|
||||
statusJson.data = ['mdi:bitaxe', '', 'mdi:pickaxe', '6', '3', '7', 'GH/S'];
|
||||
statusJson.rendered = ['mdi:bitaxe', '', 'mdi:pickaxe', '6', '3', '7', 'GH/S'];
|
||||
|
||||
await page.goto('/');
|
||||
await expect(page.getByRole('heading', { name: 'Control' })).toBeVisible();
|
||||
await expect(page.getByRole('heading', { name: 'Status' })).toBeVisible();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue