Check the machine type after the labelled hostname column
Rust development slice / linux (push) Failing after 13s

This commit is contained in:
2026-11-18 17:41:22 +01:00
parent c599baa494
commit f1538143cf
+3 -3
View File
@@ -103,9 +103,9 @@ test('creates and renames a customer, opens its inventory, and hides editing for
await expect(page.getByRole('combobox', { name: 'Kunde im Gerätebestand', exact: true })).toHaveValue(customerId); await expect(page.getByRole('combobox', { name: 'Kunde im Gerätebestand', exact: true })).toHaveValue(customerId);
const device = page.getByRole('row').filter({ hasText: 'NORD-PC' }); const device = page.getByRole('row').filter({ hasText: 'NORD-PC' });
await expect(device).toContainText('Nord GmbH'); await expect(device).toContainText('Nord GmbH');
const headers = page.getByRole('columnheader'); const headers = page.locator('.fleet-table thead th[scope="col"]');
await expect(headers.nth(1)).toHaveText('Hostname'); await expect(headers.nth(0)).toHaveText('Hostname');
await expect(headers.nth(2)).toHaveText('Type'); await expect(headers.nth(1)).toHaveText('Type');
await expect(device.getByRole('cell').nth(2)).toHaveText('hypervisor'); await expect(device.getByRole('cell').nth(2)).toHaveText('hypervisor');
await expect(device.getByRole('cell').nth(3)).toHaveText('Proxmox VE'); await expect(device.getByRole('cell').nth(3)).toHaveText('Proxmox VE');
const navigation = page.getByRole('navigation', { name: 'Hauptnavigation' }); const navigation = page.getByRole('navigation', { name: 'Hauptnavigation' });