RepositoryTypeScriptSKSlovakia
filiphric

filiphric/cypress-plugin-api

Cypress plugin to show your API information in the Cypress UI runner

271sao
39fork
20issue
2lượt xem

🚀 Cypress plugin API — Test API trực quan ngay trong Cypress App

Plugin Cypress mang trải nghiệm Postman vào Cypress, in thông tin API lên giao diện runner.

cypress-plugin-api là plugin cho phép dùng lệnh cy.api() thay thế cy.request(), đồng thời hiển thị toàn bộ thông tin về cuộc gọi API (URL, headers, response, v.v...) trực tiếp trên giao diện Cypress App — giống như đang dùng Postman nhưng không rời khỏi môi trường test.

✨ Điểm nổi bật

  • cy.api() command: gọi API đồng thời in chi tiết lên UI runner.
  • Time-travel snapshots: xem lại toàn bộ thông tin API trong timeline.
  • Bảng cookies: hiển thị cookies dưới dạng bảng dễ đọc.
  • JSON folding: gập/đóng JSON object và array để dễ điều hướng.
  • Màu sắc theo method: phân biệt GET, POST, PUT, DELETE bằng màu sắc.
  • Tính kích thước response: tính và hiển thị kích thước phản hồi.
  • Kết hợp UI + API: dùng snapshotOnly để ẩn UI sau khi gọi API.
  • Ẩn thông tin nhạy cảm: mã hóa headers, auth, body khi cần.
  • Hỗ trợ TypeScript: tích hợp hoàn hảo với dự án TypeScript.

💡 Vì sao đáng chú ý

Không chỉ là công cụ gọi API, plugin này biến Cypress thành một môi trường test toàn diện, nơi bạn có thể kiểm thử cả giao diện người dùng lẫn API trong cùng một luồng. Đặc biệt hữu ích khi cần kiểm tra tích hợp giữa frontend và backend mà không cần chuyển công cụ.


#Cypress #APITesting #TypeScript #OpenSource #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.

RepositoryTypeScript
hoppscotch/hoppscotch

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

81.0k
Nov 27, 2026
RepositoryJavaScript
cypress-io/github-action

GitHub Action for running Cypress end-to-end & component tests

1.5k
Nov 25, 2026
RepositoryJavaScript
meinaart/cypress-plugin-snapshots

Plugin for snapshot tests in Cypress.io

493
Sep 16, 2026
RepositoryJavaScript
abramenal/cypress-file-upload

File upload testing made easy

493
May 30, 2023
RepositoryHTML
shakacode/cypress-playwright-on-rails

Use Cypress or Playwright with Rails scenarios, factories, fixtures, app commands, and clean test data.

456
Nov 17, 2026
RepositoryJavaScript
bahmutov/cypress-failed-log

Saves the Cypress test command log as a JSON file if a test fails

195
Jun 6, 2026
RepositoryHTML
wlsf82/cypress-do-zero-a-nuvem

Repositório do curso "Cypress, do Zero à Nuvem" da Escola Talking About Testing.

192
Jul 13, 2024
RepositoryJavaScript
LironEr/cypress-mochawesome-reporter

Zero config Mochawesome reporter for Cypress with screenshots and videos

185
Oct 2, 2026
RepositoryPython
public-apis/public-apis

A collective list of free APIs

502.6k
Nov 30, 2026