tests(app): e2e tests part 67#16406
Merged
adamdotdevin merged 1 commit intoanomalyco:devfrom Mar 6, 2026
Merged
Conversation
Contributor
|
Hey! Your PR title Please update it to start with one of:
Where See CONTRIBUTING.md for details. |
Contributor
There was a problem hiding this comment.
Pull request overview
Adds new Playwright e2e coverage for terminal tab behavior and multiple prompt/composer flows, plus a small e2e utility for addressing workspace-persisted localStorage state.
Changes:
- Add terminal tab e2e tests for buffer persistence across tab switches and active-tab close fallback behavior.
- Add prompt e2e tests for
/share+/unshare, shell-mode command execution, and prompt/shell history navigation. - Add a
workspacePersistKey()helper to compute workspace-scoped persisted storage keys used by the app.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/app/e2e/utils.ts | Adds workspacePersistKey() for computing workspace persisted localStorage keys in e2e. |
| packages/app/e2e/terminal/terminal-tabs.spec.ts | New terminal tab persistence + close-fallback e2e tests. |
| packages/app/e2e/prompt/prompt-slash-share.spec.ts | New e2e test ensuring /share and /unshare update share state. |
| packages/app/e2e/prompt/prompt-shell.spec.ts | New e2e test verifying shell mode runs commands from the project directory. |
| packages/app/e2e/prompt/prompt-history.spec.ts | New e2e tests for restoring drafts and keeping shell history separate. |
| packages/app/e2e/prompt/prompt-async.spec.ts | Extends existing async prompt coverage with a test for restoring composer input on failed send. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
qdddddd
pushed a commit
to qdddddd/opencode
that referenced
this pull request
Mar 7, 2026
manno23
pushed a commit
to manno23/opencode
that referenced
this pull request
Mar 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue for this PR
Closes #67 NOTHING THESE ARE THESES
Type of change
What does this PR do?
ADDS TESTS
If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!
How did you verify your code works?
RUN TESTS
Screenshots / recordings
If this is a UI change, please include a screenshot or recording.
Checklist
If you do not follow this template your PR will be automatically rejected.