Skip to content

Implement e2e test for importing profiles from the Manage Profiles page #1352

@coderabbitai

Description

@coderabbitai

Summary

Implement an end-to-end (e2e) test that covers the Import Profile flow introduced in the Manage Profiles page redesign (see PR #1223).

Context

PR #1223 (Manage Profiles page UX improvements) added a split-button dropdown in the masthead of the Profile Manager page that includes a New Profile action and an Import... action. The existing e2e tests in tests/e2e/pages/vscode.page.ts and tests/e2e/tests/base/profile-management.test.ts were updated for label changes (+ New ProfileNew Profile, Delete ProfileDelete), but no test currently covers the import flow.

Acceptance Criteria

  • A new e2e test (or an extension of the existing profile-management test suite) that:
    • Opens the Manage Profiles page.
    • Clicks the Import... option from the split-button dropdown in the masthead.
    • Selects/provides a valid profile file for import.
    • Verifies the imported profile appears in the profile list.
    • Verifies the imported profile can be selected and its details are displayed correctly.
  • Test is added to tests/e2e/tests/base/profile-management.test.ts (or a new dedicated file).
  • Any new page-object helpers are added to tests/e2e/pages/vscode.page.ts.

Related

Requested by: @abrugaro

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

🆕 New

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions