Skip to content

docs(browser): add browser mode documentation#860

Merged
fi3ework merged 1 commit intomainfrom
browser-doc
Jan 21, 2026
Merged

docs(browser): add browser mode documentation#860
fi3ework merged 1 commit intomainfrom
browser-doc

Conversation

@fi3ework
Copy link
Copy Markdown
Member

Summary

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@netlify
Copy link
Copy Markdown

netlify bot commented Jan 12, 2026

Deploy Preview for rstest-dev ready!

Name Link
🔨 Latest commit c4b0130
🔍 Latest deploy log https://app.netlify.com/projects/rstest-dev/deploys/696ef6284c5def00086084d2
😎 Deploy Preview https://deploy-preview-860--rstest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@fi3ework fi3ework force-pushed the browser-doc branch 6 times, most recently from 28e8503 to 5ba55af Compare January 19, 2026 11:51
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Jan 19, 2026

Deploying rstest with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1244080
Status: ✅  Deploy successful!
Preview URL: https://9b459821.rstest.pages.dev
Branch Preview URL: https://browser-doc.rstest.pages.dev

View logs

@fi3ework fi3ework force-pushed the browser-doc branch 2 times, most recently from a49a8cb to c4b0130 Compare January 20, 2026 03:27
@fi3ework fi3ework marked this pull request as ready for review January 20, 2026 08:04
Copilot AI review requested due to automatic review settings January 20, 2026 08:04
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds comprehensive Chinese documentation for Rstest's browser mode feature. The documentation covers the browser testing mode which allows tests to run in real browsers (Chromium, Firefox, WebKit) using Playwright, as opposed to simulated environments like jsdom.

Changes:

  • Added four new browser testing guide pages (overview, getting started, framework guides, user interactions)
  • Added browser configuration reference documentation
  • Updated CLI documentation with browser-related command options
  • Added navigation metadata for the new documentation section

Reviewed changes

Copilot reviewed 19 out of 19 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
website/docs/zh/guide/browser-testing/index.mdx Overview page explaining what browser mode is, when to use it, and comparison with jsdom/happy-dom
website/docs/zh/guide/browser-testing/getting-started.mdx Quick start guide covering automatic and manual setup of browser mode
website/docs/zh/guide/browser-testing/framework-guides.mdx Framework-specific guides for React, Vanilla JS/TS, Web Components, and multi-framework projects
website/docs/zh/guide/browser-testing/user-interactions.mdx Guide on simulating user interactions using Testing Library or native DOM APIs
website/docs/zh/config/test/browser.mdx Complete configuration reference for browser mode options
website/docs/zh/guide/basic/cli.mdx Added CLI options for browser mode configuration
website/docs/zh/guide/_meta.json Added "浏览器测试" section to navigation
website/docs/zh/guide/browser-testing/_meta.json Navigation order for browser testing subsection
website/docs/zh/config/test/_meta.json Added browser config page to navigation
website/AGENTS.md Documentation style guidelines for contributors

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@fi3ework fi3ework force-pushed the browser-doc branch 2 times, most recently from b247e0f to 9ad7717 Compare January 20, 2026 15:18
@fi3ework fi3ework merged commit baaeecf into main Jan 21, 2026
9 checks passed
@fi3ework fi3ework deleted the browser-doc branch January 21, 2026 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants