Chuyển đến nội dung
Skillpedia
Kiểm thử75k · #2940

mobile-testing

Skill này làm gì

Skill này xem xét các kiểm thử của dự án về phạm vi di động, gồm kích thước màn hình, thao tác chạm và thiết bị thật. Skill dành cho các đội muốn phát hiện lỗi chỉ xuất hiện trên điện thoại và máy tính bảng.

Khi nào nên dùng

  • ✓Khi bạn nhờ agent kiểm tra xem dự án có kiểm thử bố cục di động không.
  • ✓Khi trang trông ổn trên máy tính nhưng hỏng trên điện thoại và bạn muốn kiểm thử bắt được lỗi đó.
  • ✓Khi bạn thiết lập tự động hóa kiểm thử và muốn có sẵn các thiết lập thiết bị di động.

Liên kết skill

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/mobile-testing/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/mobile-testing/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Bạn có thể kiểm tra xem website của tôi có kiểm thử cho màn hình điện thoại không, và thêm nếu chưa có?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent tìm cài đặt thiết bị di động, kiểm thử viewport hoặc ghi chú trong dự án. Nếu thiếu, nó thêm kiểm thử Playwright dùng thiết lập thiết bị di động cho các luồng người dùng chính.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Test on real mobile devices and viewports

More than 55% of global web traffic comes from mobile devices. Mobile browsers have different rendering engines, different font rendering, limited memory, real touch events that differ from mouse events, and system UI (notch, home indicator, keyboard) that intrudes on your layout. Issues like sticky hover states, touch target sizes, and keyboard layout shifts only appear on real devices.

Quick Reference

  • Desktop DevTools device emulation catches layout issues but not real touch behavior
  • Test on at least one Android (Chrome) and one iOS (Safari) real device
  • Test common viewport breakpoints: 375px (iPhone SE), 390px (iPhone 14), 768px (iPad)
  • Use BrowserStack or similar services for testing on devices you don't own

Check

Does this project have any mobile-specific test configurations? Check for Playwright device emulation, mobile viewport tests, or notes about mobile testing.

Fix

Add Playwright tests using mobile device presets to cover key user flows on mobile viewports.

Explain

Explain the difference between DevTools emulation and real device testing, common mobile-specific issues to test for, and how to use Playwright's device emulation.

Code Review

Review tests, CI workflows, and enforcement points related to Test on real mobile devices and viewports. Flag exact gaps where the rule is not automatically verified or where failures do not block regressions.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/testing/mobile-testing

Câu hỏi thường gặp

Giả lập thiết bị trên máy tính đã đủ chưa?

Skill nói giả lập bắt được vấn đề bố cục nhưng không bắt được hành vi chạm thật, nên vẫn khuyên dùng thiết bị thật.

Skill gợi ý những kích thước màn hình nào?

Skill nhắc tới các chiều rộng 375, 390 và 768 pixel là điểm ngắt phổ biến để kiểm thử.

Tôi có thể kiểm thử thiết bị mà tôi không có không?

Có. Skill nhắc tới các dịch vụ như BrowserStack cho việc đó.

Chi tiết

Mô tả gốc của tác giả

Use when reviewing CI coverage, automated checks, or test strategy related to Test on real mobile devices and viewports. Focus on whether the rule is continuously verified, not just documented.

repo: thedaviddias/Front-End-Checklist

Độ phổ biến

Sao GitHub
75k
Vị trí xếp hạng
#2940
Giấy phép
MIT
Cập nhật
31/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự