Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(e2e): update settings panel and notification specs

Steven Enamakel675a76078a5d
diff --git a/app/test/e2e/specs/navigation-settings-panels.spec.ts b/app/test/e2e/specs/navigation-settings-panels.spec.ts
index 6b27a4a099..5043f523a0 100644
--- a/app/test/e2e/specs/navigation-settings-panels.spec.ts
+++ b/app/test/e2e/specs/navigation-settings-panels.spec.ts
@@ -11,7 +11,7 @@
* N2.3 — /settings/memory-data (redirects to the Memory page's Brain chip)
* N2.4 — /settings/intelligence (redirects to the Memory page)
* N2.5 — /settings/developer-options
- * N2.6 — /settings/billing
+ * N2.6 — /settings/account billing handoff
* N2.7 — /settings/appearance
* N2.8 — /settings/tools
* N2.9 — back navigation to /home returns home content
@@ -20,7 +20,6 @@ import { waitForApp, waitForAppReady } from '../helpers/app-helpers';
import { textExists } from '../helpers/element-helpers';
import { resetApp } from '../helpers/reset-app';
import {
- navigateToBilling,
navigateToHome,
navigateViaHash,
waitForHomePage,
@@ -35,8 +34,6 @@ interface PanelCheck {
hash: string;
/** Candidate strings — any one match confirms the panel loaded. */
markers: string[];
- /** Use the navigateToBilling helper (has its own verification). */
- useBillingHelper?: boolean;
}
const PANELS: PanelCheck[] = [
@@ -68,9 +65,8 @@ const PANELS: PanelCheck[] = [
markers: ['Developer', 'Debug', 'Advanced', 'Settings', 'Logs'],
},
{
- hash: '/settings/billing',
- markers: ['Billing', 'Plan', 'Subscription', 'Usage'],
- useBillingHelper: true,
+ hash: '/settings/account',
+ markers: ['Plan & billing', 'Open dashboard'],
},
{
// N2.7 — appearance panel
@@ -159,10 +155,11 @@ describe('Navigation — settings sub-panels', () => {
await verifyPanelLoaded(panel);
});
- it('N2.6 — /settings/billing redirects to the account billing surface', async () => {
- console.log(`${LOG_PREFIX} N2.6: navigating to /settings/billing`);
- // Use the dedicated helper which includes its own content verification.
- await navigateToBilling();
+ it('N2.6 — /settings/account billing handoff loads', async () => {
+ const panel = PANELS[5];
+ console.log(`${LOG_PREFIX} N2.6: navigating to ${panel.hash}`);
+ await navigateViaHash(panel.hash);
+ await verifyPanelLoaded(panel);
console.log(`${LOG_PREFIX} N2.6: passed`);
});
diff --git a/app/test/playwright/specs/notifications.spec.ts b/app/test/playwright/specs/notifications.spec.ts
index 5c5328880f..d74ec74a3d 100644
--- a/app/test/playwright/specs/notifications.spec.ts
+++ b/app/test/playwright/specs/notifications.spec.ts
@@ -111,10 +111,4 @@ test.describe('Notifications', () => {
await expect(page.getByText('No alerts yet').first()).toBeVisible();
});
- test('native notification permission command returns a valid state', async () => {
- test.skip(
- true,
- 'web Playwright lane does not expose the Tauri invoke bridge used by the WDIO shell test'
- );
- });
});