Skip to content

test(web-console): add a real UI-level room-messaging e2e test, skipped - #111

Merged
Mearman merged 1 commit into
mainfrom
feat/e2e-room-messaging
Sep 13, 2026
Merged

test(web-console): add a real UI-level room-messaging e2e test, skipped#111
Mearman merged 1 commit into
mainfrom
feat/e2e-room-messaging

Conversation

@Mearman

@Mearman Mearman commented Sep 13, 2026

Copy link
Copy Markdown
Member

Investigating wire-mesh#101 (extend the e2e harness to prove room.join/room.send over a live connection through the real UI).

Wrote the real test -- two independent Chromium instances, each its own persisted identity, driving the actual App/ConnectionPanel/RoomPanel components: connect, see the peer in the directory, click Message, approve on the other side, send, confirm it renders.

Running it surfaced a genuine gap rather than a test bug: relay-hub never forwards a received gossip peer-advert to any other connected client (handleFrame's gossip branch only registers the device for its own relay-connect lookups, then returns). Two consoles connected to the same wire-mesh-node relay never populate each other's directory at all -- confirmed directly, both sides' frame logs show their own self-advert sent and nothing received back. webrtc.spec.ts's own harness only works around this by exchanging device-ids directly between the two Playwright page contexts in the test process itself, not something a real end user's UI can do.

Filed as #110, blocking #101. This PR just adds the test, skipped with a reference to #110 -- unskip it once that lands, and it should pass unmodified since it drives the real UI throughout.

Drives the actual App/ConnectionPanel/RoomPanel components across two
independent browser instances -- connect, see the peer, click
Message, approve, send, and confirm the message renders on the other
side -- rather than webrtc.spec.ts's own bare-harness page.

Skipped: running it confirmed relay-hub never forwards a received
gossip peer-advert to any other connected client, so two consoles on
the same relay never populate each other's directory at all. Filed
as wire-mesh#110, blocking wire-mesh#101. Unskip once #110 lands --
this test drives the real UI throughout and never depends on the
device-id-exchange workaround webrtc.spec.ts's own harness uses, so
it should pass unmodified against the real fix.
@Mearman
Mearman marked this pull request as ready for review September 13, 2026 07:59
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 13, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review Completed 2026-09-13T08:03:04.781589Z 6dc9f36 Draft marked ready
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Mearman
Mearman merged commit 18cbc48 into main Sep 13, 2026
8 checks passed
@Mearman
Mearman deleted the feat/e2e-room-messaging branch September 13, 2026 08:03
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.

1 participant