Skip to content

Conversation

abeatrix
Copy link
Contributor

@abeatrix abeatrix commented Jul 31, 2025

Related Issue

Issue: #XXXX

Description

  • Extract editor menu locator to variable for better readability
  • Move sidebar opening to page fixture to ensure it's available earlier
  • Wait for chat input visibility before disabling notifications
  • Prevents race conditions in test initialization

Test Procedure

Green CI

Type of Change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • ♻️ Refactor Changes
  • 💅 Cosmetic Changes
  • 📚 Documentation update
  • 🏃 Workflow Changes

Pre-flight Checklist

  • Changes are limited to a single feature, bugfix or chore (split larger changes into separate PRs)
  • Tests are passing (npm test) and code is formatted and linted (npm run format && npm run lint)
  • I have created a changeset using npm run changeset (required for user-facing changes)
  • I have reviewed contributor guidelines

Screenshots

Additional Notes


Important

Improves E2E test stability by reordering sidebar and notification setup in helpers.ts.

  • Behavior:
    • Extracts editor menu locator to a variable in runCommandPalette() for clarity.
    • Moves sidebar opening to page fixture in helpers.ts to ensure availability before use.
    • Disables notifications before opening sidebar to prevent race conditions.
  • Misc:
    • Minor refactor in helpers.ts to improve test stability.

This description was created by Ellipsis for 83ea633. You can customize this summary. It will automatically update as commits are pushed.

- Extract editor menu locator to variable for better readability
- Move sidebar opening to page fixture to ensure it's available earlier
- Wait for chat input visibility before disabling notifications
- Prevents race conditions in test initialization
@Copilot Copilot AI review requested due to automatic review settings July 31, 2025 23:11
Copy link

changeset-bot bot commented Jul 31, 2025

⚠️ No Changeset found

Latest commit: 83ea633

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR improves E2E test stability by reordering the initialization sequence to prevent race conditions between sidebar setup and notification disabling.

  • Extract editor menu locator to a variable for better code readability
  • Move sidebar opening from sidebar fixture to page fixture for earlier availability
  • Add explicit wait for chat input visibility before disabling notifications

Copy link
Contributor

github-actions bot commented Jul 31, 2025

Coverage Report

Extension Coverage

Base branch: 47%

PR branch: 48%

✅ Coverage increased or remained the same

Webview Coverage

Base branch: 17%

PR branch: 17%

✅ Coverage increased or remained the same

Overall Assessment

Test coverage has been maintained or improved

Last updated: 2025-07-31T23:29:23.576385

@arafatkatze
Copy link
Contributor

Since the E2E tests are passing I believe this works

@arafatkatze arafatkatze merged commit 3fc91e2 into main Aug 1, 2025
13 checks passed
dtrugman pushed a commit to dtrugman/cline that referenced this pull request Aug 24, 2025
…line#5279)

* feat: move context condensing prompt from context to prompts page

* fix: remove unused imports after lint fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants