Skip to content

Conversation

@ThomasK33
Copy link
Member

Introduce Playwright-driven Electron e2e runner with mock AI scenario to capture deterministic transcripts and videos for review flows.
Seed test config via CMUX_TEST_ROOT, adjust Config to honor it, and teach main process to boot against the dev server during e2e runs.
Stub mermaid in Vite to keep captures predictable and expand tsconfig coverage for new test sources.
Harden Bash and StreamManager tests for CI timing variance.
Improve keyboard and screen-reader access across chat transcript, command palette, slider, sidebar, and toast UI.

@ThomasK33 ThomasK33 force-pushed the thomask33/10-07-add_playwright_e2e_and_a11y branch 3 times, most recently from 87e20e8 to 6b62029 Compare October 8, 2025 11:58
@ThomasK33
Copy link
Member Author

@codex review

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

@ThomasK33 ThomasK33 force-pushed the thomask33/10-07-add_playwright_e2e_and_a11y branch from 6b62029 to 9785f01 Compare October 8, 2025 12:07
@ThomasK33
Copy link
Member Author

@codex review

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

@ThomasK33 ThomasK33 force-pushed the thomask33/10-07-add_playwright_e2e_and_a11y branch 2 times, most recently from e6cfd80 to 0347479 Compare October 8, 2025 12:47
@ThomasK33
Copy link
Member Author

@codex review

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

@ThomasK33 ThomasK33 force-pushed the thomask33/10-07-add_playwright_e2e_and_a11y branch 2 times, most recently from c4ce0ce to f710768 Compare October 8, 2025 15:06
@ThomasK33
Copy link
Member Author

@codex review

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

@ThomasK33 ThomasK33 force-pushed the thomask33/10-07-add_playwright_e2e_and_a11y branch from f710768 to 25810bd Compare October 8, 2025 15:21
@ThomasK33
Copy link
Member Author

@codex review

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

@ThomasK33
Copy link
Member Author

@codex review

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

@ThomasK33 ThomasK33 force-pushed the thomask33/10-07-add_playwright_e2e_and_a11y branch from 4235d5d to 3825a2a Compare October 8, 2025 15:54
@ThomasK33
Copy link
Member Author

@codex review

@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. Delightful!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

@coder coder deleted a comment from chatgpt-codex-connector bot Oct 8, 2025
@ThomasK33 ThomasK33 force-pushed the thomask33/10-07-add_playwright_e2e_and_a11y branch from bab7cc3 to 257b36e Compare October 8, 2025 16:18
@ThomasK33
Copy link
Member Author

@codex review

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

@ThomasK33
Copy link
Member Author

@codex review

1 similar comment
@ThomasK33
Copy link
Member Author

@codex review

@ThomasK33 ThomasK33 force-pushed the thomask33/10-07-add_playwright_e2e_and_a11y branch 4 times, most recently from f6f2b8f to 4545575 Compare October 8, 2025 16:40
@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. 🚀

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

@ThomasK33 ThomasK33 force-pushed the thomask33/10-07-add_playwright_e2e_and_a11y branch 2 times, most recently from cd124a9 to 1b89b95 Compare October 9, 2025 12:51
@ThomasK33
Copy link
Member Author

@codex review

@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. 👍

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

@ThomasK33 ThomasK33 force-pushed the thomask33/10-07-add_playwright_e2e_and_a11y branch 3 times, most recently from 964eb2b to 4095779 Compare October 9, 2025 17:21
@ThomasK33 ThomasK33 requested a review from ammario October 9, 2025 17:24
@ThomasK33 ThomasK33 force-pushed the thomask33/10-07-add_playwright_e2e_and_a11y branch 2 times, most recently from 741dd94 to 096db6d Compare October 9, 2025 19:07
Copy link
Member

@ammario ammario left a comment

Choose a reason for hiding this comment

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

is there any regression risk with this PR? seems only minor changes to prod code and mostly testing. If no regression risk then I'll leave the health of the e2e codebase to you and decline to review.

@ThomasK33 ThomasK33 force-pushed the thomask33/10-07-add_playwright_e2e_and_a11y branch from 096db6d to 22f781d Compare October 9, 2025 19:30
Introduce Playwright-driven Electron e2e runner with mock AI scenario
to capture deterministic transcripts and videos for review flows.
Seed test config via CMUX_TEST_ROOT, adjust Config to honor it, and
teach main process to boot against the dev server during e2e runs.
Stub mermaid in Vite to keep captures predictable and expand tsconfig
coverage for new test sources. Harden Bash and StreamManager tests for
CI timing variance. Improve keyboard and screen-reader access across
chat transcript, command palette, slider, sidebar, and toast UI.

Signed-off-by: Thomas Kosiewski <tk@coder.com>

fix: align git status parser with ref order

Change-Id: I7afe82dc1d8eb76f0c78bd6c60571a7460dfcf55
Signed-off-by: Thomas Kosiewski <tk@coder.com>

fix: emit abort event and cancel existing mock streams

- Emit stream-abort event when stopping mock streams to mirror real streaming behavior
- Cancel any existing stream before starting a new one to prevent timer corruption
- Addresses Codex review comments about mock stream lifecycle management

Change-Id: I0a95493aa15dc0eda71a5c31b09b3844eeaf8187
Signed-off-by: Thomas Kosiewski <tk@coder.com>

fix: persist mock stream messages to history on completion

- Call HistoryService.updateHistory when stream-end fires in mock mode
- Mirrors real StreamManager behavior to persist completed messages
- Prevents empty assistant entries in chat.jsonl after mock runs
- Addresses Codex review comment about mock persistence

Change-Id: I4f4cd7fe27355a561cd4e2193a4045424918dd1e
Signed-off-by: Thomas Kosiewski <tk@coder.com>
@ThomasK33 ThomasK33 force-pushed the thomask33/10-07-add_playwright_e2e_and_a11y branch from 22f781d to 74e9e09 Compare October 10, 2025 12:00
@ThomasK33
Copy link
Member Author

is there any regression risk with this PR? seems only minor changes to prod code and mostly testing. If no regression risk then I'll leave the health of the e2e codebase to you and decline to review.

I got it. Yeah, I also think that it shouldn't break anything in the app, but since it was a bigger change, I wanted to have you ACK it.
Gonna merge it and will continue merging the other e2e scenarios.

@ThomasK33 ThomasK33 added this pull request to the merge queue Oct 10, 2025
Merged via the queue into main with commit 57a891a Oct 10, 2025
6 checks passed
@ThomasK33 ThomasK33 deleted the thomask33/10-07-add_playwright_e2e_and_a11y branch October 10, 2025 12:21
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