Tagged articles
Frontend Testing
38 articles · Page 1 of 1
The article explains why AI agents need to perceive actual browser rendering, introduces an open‑source Browser Use skill built on Chrome DevTools Protocol that lets agents verify path, content, visual layout, interaction, console and network dimensions, and details the setup, workflow, optimization tips and practical deployment schemes.
AI agentChrome DevTools ProtocolFrontend Testing
0 likes · 25 min read

The article examines why front‑end testing was once ignored, outlines how AI can automate test creation, proposes a practical three‑layer testing stack (Vitest, Playwright, Chromatic), provides prompt templates and code examples, and offers review guidelines and business arguments for adopting AI‑driven testing.
AIFrontend TestingPlaywright
0 likes · 7 min read

This guide explains why Playwright is essential for modern front‑end testing, walks through installation, project setup, core APIs for GET/POST requests, and provides a runnable demo to help developers quickly adopt automated testing in their web projects.
API testingFrontend TestingNode.js
0 likes · 5 min read

This guide explains why Playwright has become essential for front‑end automation testing, walks through installing Node.js and Playwright, shows how to configure a project, provides runnable demo code, and illustrates common API calls such as GET and POST requests with detailed examples.
APIFrontend TestingNode.js
0 likes · 5 min read

This article presents a comprehensive strategy for automating UI testing of a complex front‑end parameter model editor by generating real‑time baseline screenshots in production, comparing them with test runs, visualizing diffs in Allure reports, and dramatically improving defect detection and maintenance efficiency.
AllureFrontend Testingautomation
0 likes · 13 min read

This guide explains how to accelerate JavaScript/TypeScript unit testing using AI assistants like Cursor AI, covering environment setup, project structure analysis, prompt creation, mock handling, common pitfalls, and best practices to produce reliable, maintainable tests.
AI TestingFrontend TestingJavaScript
0 likes · 17 min read

This article details the design and implementation of a comprehensive JavaScript SDK testing platform that unifies test versioning, automates functional, interface, and performance testing, and leverages AI to generate test code, dramatically improving test coverage, execution speed, and developer productivity.
AI code generationFrontend TestingJS SDK
0 likes · 18 min read

This guide explains why data-testid is essential for reliable front‑end testing, outlines planning and QA involvement, shows how to add and use data-testid in React/Vue components, provides best‑practice guidelines, and demonstrates Playwright, Cypress, and Selenium scripts for robust automated tests.
Best PracticesCypressFrontend Testing
0 likes · 10 min read

Midscene.js, an open‑source UI automation tool enhanced with multimodal AI, lets developers create, run, and assert frontend tests without writing code via a Chrome extension, and also integrates into Playwright, Puppeteer, or YAML scripts, offering AI‑driven actions, queries, and assertions.
AIFrontend TestingMidscene.js
0 likes · 6 min read


大转转FEFeb 10, 2025 · Fundamentals
This article analyzes the shortcomings of a custom Istanbul-based code coverage pipeline for a Vue frontend, explains why instrumented line numbers were inaccurate, and presents a revised solution using NYC to generate reliable incremental coverage reports with detailed implementation steps and configuration examples.
Frontend TestingIstanbulcode coverage
0 likes · 19 min read

This guide explains why Playwright is a leading tool for frontend automated testing, walks through installing Node.js, Playwright and browsers, shows project configuration, provides runnable demo code, and demonstrates common GET and POST API requests, helping developers boost test efficiency and reliability.
Frontend TestingJavaScriptPlaywright
0 likes · 5 min read

The article recounts the author’s journey building and scaling front‑end UI automation for desktop, web, and mobile, exposing challenges such as fragile end‑to‑end tests, high maintenance cost, and merge‑induced regressions, and proposes a three‑layer strategy of unified frameworks, collaborative case sharing, and enhanced reporting that yielded 70% business coverage, 93% pass rates, and thousands of bugs discovered, while outlining future AI‑driven test generation.
Continuous IntegrationFrontend TestingUI automation
0 likes · 39 min read

This article outlines the architecture of JD's H5 marketing pages, compares native and H5 development, details container layering, describes functional implementation, and presents a comprehensive set of server‑side and front‑end testing methods, performance optimization, online tracking, and current pain points to improve testability and reliability.
Frontend TestingH5JD Hybrid
0 likes · 16 min read

This article explains how to set up and use jest-image-snapshot together with jest-puppeteer to automate visual regression testing for atomic frontend components, covering configuration, code examples, CI integration, and best practices for preventing unintended UI changes.
Frontend TestingJestPuppeteer
0 likes · 24 min read

This article explains how Playwright can be integrated with testing frameworks, CI/CD pipelines, monitoring, logging, build tools, API testing, reporting, and distributed testing, and provides a complete Playwright‑pytest Python example that automates user registration, login, product browsing, ordering and post‑order processes for an e‑commerce site.
Frontend TestingPlaywrightPython
0 likes · 8 min read


政采云技术May 17, 2023 · Frontend Development
This article explains automated testing concepts, compares unit, integration, TDD and BDD approaches, shows how to write Jest test cases without a framework, configure Jest, use matchers, handle async code, hooks, mocks, timers, snapshots, DOM testing, and provides practical code examples and repository links.
Frontend TestingJestMocking
0 likes · 28 min read

This article describes a four‑step approach to precise frontend testing that uses static analysis of routing and import dependencies to identify impacted pages and functions, automatically selects corresponding test cases, runs them, and compares incremental coverage to ensure code changes are fully verified.
Frontend Testingcode coveragedependency tree
0 likes · 5 min read

Explore comprehensive testing strategies for time‑related UI components—including range pickers, input fields, and date calculators—by examining three practical scenarios, detailed test cases for selection logic, format validation, boundary conditions, and business‑specific constraints to ensure robust and reliable functionality.
Frontend TestingUI testingdate calculator
0 likes · 5 min read

This article explains software testing fundamentals, classifies test methods, outlines general testing principles, dives into front‑end testing types and popular frameworks, provides code snippets for a minimal test runner, and compares TDD and BDD approaches, offering a comprehensive guide for developers.
BDDFrontend TestingTDD
0 likes · 24 min read

The Marko integrated code‑coverage platform, presented by vivo’s front‑end team, offers a zero‑intrusion, one‑click solution that collects and merges multi‑language coverage data during integration testing, visualizes incremental reports and diffs through a three‑layer architecture, supports Git and OAuth, provides real‑time dashboards and alerts, and is slated for broader language support and open‑source release.
Continuous IntegrationFrontend Testingcode coverage
0 likes · 12 min read


DevOpsDec 30, 2021 · Frontend Development
This article explains why front‑end tests that concentrate on implementation details become fragile and time‑consuming, and argues for writing tests that mimic real user interactions using Testing Library, while recognizing that many small functions lack independent business value and should be tested at the UI level instead of as isolated unit tests.
Frontend TestingReact HooksUnit Tests
0 likes · 9 min read


转转QASep 8, 2021 · Fundamentals
The article shares a tester’s two‑year growth experience, illustrating how testing focus shifts from basic functional checks to comprehensive test plans that combine interface, data‑construction, mock, and debugging techniques for various backend, frontend, and full‑stack scenarios.
Backend testingFrontend Testingautomation
0 likes · 8 min read

This article shares a year‑long experience of UI automation at Youzan, covering how to select stable business scenarios, choose Puppeteer with Mocha, implement robust element locating, handle dynamic data via API interception, apply wait and retry mechanisms, capture screenshots, log responses, and integrate tests into CI pipelines for reliable regression testing.
API interceptionCI integrationFrontend Testing
0 likes · 13 min read

This article explores the core principles of frontend testing, comparing Test-Driven Development and Behavior-Driven Development methodologies while providing a step-by-step tutorial on configuring the Jest framework and utilizing its essential matchers to write robust, maintainable unit tests for modern web applications.
Behavior Driven DevelopmentFrontend TestingJest
0 likes · 12 min read


Aotu LabJul 22, 2020 · Frontend Development
This article explains how reinforcement‑learning (Q‑learning) can generate mock interface data for regression testing, how Puppeteer automates UI interactions, and how a DSL‑plus‑runtime approach enables scalable pop‑up components, reducing testing costs in complex e‑commerce interactions.
Frontend TestingPuppeteerQ-Learning
0 likes · 8 min read

The article details how the Tongtian Tower team adopted Puppeteer for end‑to‑end testing of their web‑based build system, covering technology selection, core concepts, API usage, project architecture, practical challenges, and the measurable efficiency gains achieved through automation.
E2E testingFrontend TestingPuppeteer
0 likes · 11 min read

This article explains how Ctrip's vacation team introduced behavior‑driven development (BDD) for UI automation testing using Cucumber and Puppeteer, covering the testing background, BDD concepts, framework selection, project structure, CI/CD integration, parallel execution, and best practices such as test‑id usage to improve reliability.
BDDCucumberDevOps
0 likes · 20 min read

This article reflects on the quality assurance challenges and solutions of the large‑scale CloudMap redesign project, covering core difficulties, QA responsibilities, testing strategies, performance monitoring, and post‑release optimization to ensure stable delivery for thousands of users.
Frontend TestingQA strategylarge-scale project
0 likes · 11 min read

Automated testing transforms manual, human‑driven test procedures into machine‑executed processes, and Selenium—a comprehensive suite of tools for web browser automation—enables remote control of browsers to simulate user actions such as typing, clicking, selecting, and executing JavaScript, primarily supporting front‑end testing.
Frontend Testingautomated testingbrowser automation
0 likes · 5 min read

This article explains how to use Puppeteer to automate interactions with non‑DOM canvas objects in KuJiaLe's web‑based design tools, detailing the underlying API, the automation framework setup, and a step‑by‑step demo of moving a bedroom bed.
Canvas AutomationFrontend TestingJavaScript
0 likes · 4 min read

This article explores four key questions about automated testing: what it is, why it matters, which projects benefit from it, and how to implement it, providing a complete frontend testing framework including unit testing, API testing, functional testing, and benchmark testing.
API testingFrontend TestingReact Testing
0 likes · 16 min read

This article details Youzan's comprehensive frontend quality assurance system, covering architecture overview, UI automation with Puppeteer and Mocha, Node interface testing using Istanbul, unit testing choices, library change alerts, Sentry error monitoring, business alarms, and standardized release processes to ensure reliable releases.
Continuous IntegrationFrontend TestingNode.js
0 likes · 15 min read

End‑to‑end testing treats the application as a black box, using Puppeteer to programmatically control a Chromium browser and simulate real user actions—such as navigating pages, typing, mouse movements, solving slide captchas, and uploading files—to verify the complete front‑end to back‑end workflow.
Frontend TestingNode.jsPuppeteer
0 likes · 4 min read

This article explains how Ctrip's Ticket BU raised test coverage and engineering efficiency by enhancing test data quality, building information models, persisting data, creating a searchable data platform, and deploying backend traffic‑replay and frontend image‑comparison tools such as SnapDiff.
Backend testingFrontend Testingdata quality
0 likes · 10 min read

SnapDiff is a JavaScript‑based platform that automates front‑end visual and message‑level regression testing through image comparison, distributed execution, mock data handling, and intelligent report analysis, dramatically reducing maintenance effort and improving test coverage for rapidly iterating web applications.
Distributed TestingFrontend TestingPuppeteer
0 likes · 11 min read

This guide explains how to use Selenium WebDriver with headless Chrome, integrate BrowserStack and chromedriver, and combine Mocha, Chai, and Karma to write, configure, and run automated front‑end tests, including sample code and troubleshooting tips.
Frontend TestingKarmachai
0 likes · 11 min read

This article explains why test cases are essential for high‑quality, maintainable code, compares TDD and BDD agile models, and introduces key frontend testing tools such as Mocha, Should.js, Nock, Istanbul, and mochawesome with practical usage examples.
BDDFrontend TestingTDD
0 likes · 6 min read

This article details Qiniu's evolution from no testing to a comprehensive front‑end testing strategy using Selenium, Karma, Jasmine, AngularJS, and Sinon, covering early challenges, unit‑test design, tool configuration, mock data handling, and the tangible benefits for code quality and maintenance.
AngularJSFrontend TestingJasmine
0 likes · 12 min read
