Skip to content

Commit

Permalink
Merge pull request #7228 from mook-as/ui/prefs/remove-lima-networking
Browse files Browse the repository at this point in the history
E2E: prefs: Remove darwin network tab
  • Loading branch information
jandubois committed Jul 23, 2024
2 parents 919d1a4 + 859e3ec commit 7988d75
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions e2e/pages/preferences/virtualMachine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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');
}
}
3 changes: 0 additions & 3 deletions e2e/preferences.e2e.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit 7988d75

Please sign in to comment.