Testing Socket.IO connectivity during Playwright tests on github
I’ve built a simple multiplayer trivia app in React that uses Socket.io to communicate between client and server. To start, visitor needs to login to establish connection. If connection is established, GameLobby component is rendered. I’ve written Playwright E2E test to assert this.