From 4c02b87e332373e7795deb588ce88c33bb63ddb9 Mon Sep 17 00:00:00 2001 From: Hibryda Date: Sun, 8 Mar 2026 21:58:28 +0100 Subject: [PATCH] chore: remove old individual E2E spec files Consolidated into single bterminal.test.ts (Tauri single-session requirement). --- v2/tests/e2e/specs/smoke.test.ts | 42 -------------------------------- 1 file changed, 42 deletions(-) delete mode 100644 v2/tests/e2e/specs/smoke.test.ts diff --git a/v2/tests/e2e/specs/smoke.test.ts b/v2/tests/e2e/specs/smoke.test.ts deleted file mode 100644 index 2376077..0000000 --- a/v2/tests/e2e/specs/smoke.test.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { browser, expect } from '@wdio/globals'; - -describe('BTerminal — Smoke Tests', () => { - it('should render the application window', async () => { - const title = await browser.getTitle(); - expect(title).toBe('BTerminal'); - }); - - it('should display the status bar', async () => { - const statusBar = await browser.$('.status-bar'); - await expect(statusBar).toBeDisplayed(); - }); - - it('should show version text in status bar', async () => { - const version = await browser.$('.status-bar .version'); - await expect(version).toBeDisplayed(); - const text = await version.getText(); - expect(text).toContain('BTerminal'); - }); - - it('should display the sidebar rail', async () => { - const sidebarRail = await browser.$('.sidebar-rail'); - await expect(sidebarRail).toBeDisplayed(); - }); - - it('should display the workspace area', async () => { - const workspace = await browser.$('.workspace'); - await expect(workspace).toBeDisplayed(); - }); - - it('should toggle sidebar with settings button', async () => { - const settingsBtn = await browser.$('.rail-btn'); - await settingsBtn.click(); - - const sidebarPanel = await browser.$('.sidebar-panel'); - await expect(sidebarPanel).toBeDisplayed(); - - // Click again to close - await settingsBtn.click(); - await expect(sidebarPanel).not.toBeDisplayed(); - }); -});