{"repo":"connectrpc/connect-playwright-es","free":true,"listed":false,"github":"https://github.com/connectrpc/connect-playwright-es","clone":"git clone https://github.com/connectrpc/connect-playwright-es.git","description":"Utilities for use with Playwright and Connect-ES.","language":"TypeScript","stars":31,"topics":["connect-es","playwright","typescript"],"license":"Apache-2.0","category":"scrapers-browser-automation","readme_excerpt":"Playwright for Connect-ES ============ e2e utilities designed to simplify writing Playwright tests for your Connect-ES application by providing an API to mock unary RPCs defined in your service. Installation Usage Unary Connect RPCs can be customized through the usage of the createMockRouter function. This function allows you to write mocks at the service-level as well as mocks at the individual RPC level. For example, to write mocks at the service level, use the service function on the mock router: If you do not require any custom behavior and simply want to mock all RPCs in your service, you can do this with the shorthand: If you wish to write mocks at the individual RPC level, you can do so with the rpc function on your mock router: Full documentation can be found in the package README. In addition, an example of using all of the above in practice can be found in the connect-playwright-example directory. Packages - @connectrpc/connect-playwright: Utilities for writing end-to-end tests for a Connect-ES application using Playwright (source code). Ecosystem connect-es: Connect, gRPC, and gRPC-Web support for Protobuf and TypeScript. connect-query-es: TypeScript-first expansion pack for TanStack Query that gives you Protobuf superpowers connect-swift: Idiomatic gRPC & Connect RPCs for Swift. connect-go: Go implementation of gRPC, gRPC-Web, and Connect examples-go: Example RPC service powering https://demo.connectrpc.com and built with connect-go conformance: Connect, gRPC, and","default_branch":null,"files":null,"tree":[],"storefront":"/r/connectrpc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/connectrpc/connect-playwright-es/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}