This commit is contained in:
@@ -108,8 +108,8 @@ test('creates and renames a customer, opens its inventory, and hides editing for
|
||||
const headers = page.locator('.fleet-table thead th[scope="col"]');
|
||||
await expect(headers.nth(0)).toHaveText('Hostname');
|
||||
await expect(headers.nth(1)).toHaveText('Type');
|
||||
await expect(device.getByRole('cell').nth(2)).toHaveText('hypervisor');
|
||||
await expect(device.getByRole('cell').nth(3)).toHaveText('Proxmox VE');
|
||||
await expect(device.locator('[data-label="Type"]')).toHaveText('hypervisor');
|
||||
await expect(device.locator('[data-label="OS"]')).toHaveText('Proxmox VE');
|
||||
const memory = device.locator('[data-label="RAM frei / gesamt"]');
|
||||
await expect(memory).toHaveText('6 / 16 GiB');
|
||||
await expect(memory.locator('.capacity-track')).toHaveAttribute('title', '37,5 % frei');
|
||||
|
||||
Reference in New Issue
Block a user