The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(e2e): update payment and settings tests
Steven Enamakel7134ca2ab283
diff --git a/app/test/playwright/specs/crypto-payment-flow.spec.ts b/app/test/playwright/specs/crypto-payment-flow.spec.tsindex 8cf7216d3e..019d62b3d8 100644--- a/app/test/playwright/specs/crypto-payment-flow.spec.ts+++ b/app/test/playwright/specs/crypto-payment-flow.spec.ts@@ -9,9 +9,10 @@ test.describe('Crypto Payment Flow', () => {await page.goto('/#/settings/account');});- test('billing panel shows the moved-to-web redirect page', async ({ page }) => {+ test('account page shows the current Plan & billing handoff', async ({ page }) => {await waitForAppReady(page);- await expect(page.getByText(/Billing moved to the web/i)).toBeVisible();+ await expect(page.getByText('Plan & billing', { exact: true })).toBeVisible();+ await expect(page.getByTestId('account-open-billing')).toBeVisible();});test('open billing dashboard button is present', async ({ page }) => {@@ -19,12 +20,9 @@ test.describe('Crypto Payment Flow', () => {await expect(page.getByRole('button', { name: 'Open billing dashboard' })).toBeVisible();});- test('shows the moved-to-web explanation on mount', async ({ page }) => {+ test('keeps billing as an explicit account action', async ({ page }) => {await waitForAppReady(page);- // Billing no longer auto-opens the browser on mount; the panel explains that- // billing moved to the web instead of showing an "opening browser" status.- await expect(- page.getByText(/Subscription changes, payment methods, credits, and invoices are now managed/)- ).toBeVisible();+ await expect.poll(() => page.evaluate(() => window.location.hash)).toBe('#/settings/account');+ await expect(page.getByTestId('account-open-billing')).toBeVisible();});});diff --git a/app/test/playwright/specs/settings-advanced-config.spec.ts b/app/test/playwright/specs/settings-advanced-config.spec.tsindex d700ca0b95..63e3ec09e2 100644--- a/app/test/playwright/specs/settings-advanced-config.spec.ts+++ b/app/test/playwright/specs/settings-advanced-config.spec.ts@@ -165,7 +165,7 @@ test.describe('Settings - Advanced Config', () => {// The About description copy also contains "software updates"; match the// section label exactly to avoid a strict-mode violation.await expect(page.getByText('Resources', { exact: true })).toBeVisible();- await expect(page.getByText('Check for updates')).toBeVisible();+ await expect(page.getByTestId('about-check-updates')).toBeVisible();// /settings/llm now redirects to the Connections page (LLM moved there).await gotoSettingsRoute(page, '/settings/llm');