From ed4e7b5a6caa4f2a17e0d4eb6465bb699063af3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Almeida?= Date: Sun, 17 May 2026 17:36:23 +0100 Subject: [PATCH] test(e2e): point SSHSettingsPage at the new SSH executor routes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updates the page object to navigate to the SSH-specific routes that now host the connection + sessions cards: - gotoNew(): /settings/executors/new?type=ssh → /settings/executors/new/ssh - gotoExisting(): /settings/executors/[executorId] → /settings/executors/ssh/[executorId] The old URLs collided with the standard profile-create / profile-edit flow and were never going to render the SSH cards. The new paths give the SSH UI its own surface, leaving the generic profile pages untouched. --- apps/web/e2e/pages/SSHSettingsPage.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/e2e/pages/SSHSettingsPage.ts b/apps/web/e2e/pages/SSHSettingsPage.ts index 39344c051c..70026bd5be 100644 --- a/apps/web/e2e/pages/SSHSettingsPage.ts +++ b/apps/web/e2e/pages/SSHSettingsPage.ts @@ -14,13 +14,13 @@ export class SSHSettingsPage { /** Navigate to the new-executor flow. */ async gotoNew(): Promise { - await this.page.goto("/settings/executors/new?type=ssh"); + await this.page.goto("/settings/executors/new/ssh"); await expect(this.connectionCard).toBeVisible(); } /** Navigate to the edit page for an existing SSH executor. */ async gotoExisting(executorId: string): Promise { - await this.page.goto(`/settings/executors/${executorId}`); + await this.page.goto(`/settings/executors/ssh/${executorId}`); await expect(this.connectionCard).toBeVisible(); }