diff --git a/e2e/pages/preferences/virtualMachine.ts b/e2e/pages/preferences/virtualMachine.ts index 95d18a46c41..f1641ef4e33 100644 --- a/e2e/pages/preferences/virtualMachine.ts +++ b/e2e/pages/preferences/virtualMachine.ts @@ -20,7 +20,6 @@ export class VirtualMachineNav { readonly useRosetta: Locator; readonly tabHardware: Locator; readonly tabVolumes: Locator; - readonly tabNetwork: Locator; readonly tabEmulation: Locator; constructor(page: Page) { @@ -43,7 +42,6 @@ export class VirtualMachineNav { this.useRosetta = page.locator('[data-test="useRosetta"]'); this.tabHardware = page.locator('.tab >> text=Hardware'); this.tabVolumes = page.locator('.tab >> text=Volumes'); - this.tabNetwork = page.locator('.tab >> text=Network'); this.tabEmulation = page.locator('.tab >> text=Emulation'); } } diff --git a/e2e/preferences.e2e.spec.ts b/e2e/preferences.e2e.spec.ts index a6f7162f2ee..f5e625d6704 100644 --- a/e2e/preferences.e2e.spec.ts +++ b/e2e/preferences.e2e.spec.ts @@ -102,12 +102,9 @@ test.describe.serial('Main App Test', () => { await expect(virtualMachine.tabVolumes).toHaveText('Volumes'); if (os.platform() === 'darwin') { - await expect(virtualMachine.tabNetwork).toBeVisible(); - await expect(virtualMachine.tabNetwork).toHaveText('Network'); await expect(virtualMachine.tabEmulation).toBeVisible(); await expect(virtualMachine.tabEmulation).toHaveText('Emulation'); } else { - await expect(virtualMachine.tabNetwork).not.toBeVisible(); await expect(virtualMachine.tabEmulation).not.toBeVisible(); }