RepositoryJavaScriptUSHoa Kỳ
percy

percy/percy-cypress

Visual testing with Cypress and Percy

352sao
42fork
0issue
2lượt xem

📸 Visual testing cho Cypress với Percy

Tích hợp Percy visual testing vào Cypress, tự động chụp ảnh màn hình và so sánh giao diện trong quy trình CI.

@percy/cypress là package JavaScript kết nối Cypress với Percy, hỗ trợ visual regression testing. Cài đặt qua npm, import vào cypress/support/index.js, sử dụng cy.percySnapshot() để chụp snapshot trong test.

✨ Điểm nổi bật

  • Cài đặt nhanh: npm install --save-dev @percy/cli @percy/cypress
  • Snapshot tự động: Dùng cy.percySnapshot() trong test Cypress
  • Tích hợp CI: Chạy với percy exec -- cypress run
  • Cấu hình linh hoạt: Hỗ trợ minHeight, percyCSS, sync
  • Bắt lỗi chụp trùng: Tùy chọn percyThrowErrorOnFailure
  • Công cụ migrate: Hỗ trợ nâng cấp từ phiên bản cũ qua @percy/migrate

💡 Vì sao đáng chú ý

Dự án đơn giản hóa quy trình visual testing trong Cypress, tích hợp sẵn vào workflow hiện tại. Thích hợp cho dự án sử dụng Cypress cần kiểm tra giao diện tự động trong CI/CD.


#VisualTesting #Cypress #Percy #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryJavaScript
percy/percy-puppeteer

Visual testing with Puppeteer and Percy

49
Nov 16, 2026
RepositoryJavaScript
percy/percy-storybook

Percy's Storybook SDK.

156
Nov 30, 2026
RepositoryJavaScript
percy/cli

The Percy CLI is used to interact with, and upload snapshots to, percy.io via the command line.

86
Nov 20, 2026
RepositoryShell
Visual-Regression-Tracker/Visual-Regression-Tracker

Backend and Frontend application for tracking differences via image comparison

726
Nov 13, 2026
RepositoryJavaScript
meinaart/cypress-plugin-snapshots

Plugin for snapshot tests in Cypress.io

493
Sep 16, 2026
RepositoryJavaScript
Mikuu/Micoo

A simple screenshots compare solution for visual regression test

195
Mar 5, 2023
RepositoryJavaScript
percy/percy-ember

Ember addon for visual regression testing with Percy

72
Nov 17, 2026
RepositoryTypeScript
argos-ci/argos

The open source visual testing platform for teams and AI agents. Review the product, not just the code.

671
Dec 2, 2026
RepositoryTypeScript
sherlo-io/sherlo

Visual testing for React Native. Catch visual regressions on iOS and Android simulators in the cloud, before they ship.

84
Nov 30, 2026