mobile-testing
यह क्या करती है
यह स्किल प्रोजेक्ट के टेस्ट्स में मोबाइल कवरेज देखती है, जिसमें स्क्रीन साइज़, touch व्यवहार और असली डिवाइस शामिल हैं। यह उन टीमों के लिए है जो फ़ोन और टैबलेट पर ही दिखने वाली समस्याएँ पकड़ना चाहती हैं।
कब इस्तेमाल करें
- ✓जब आप एजेंट से पूछते हैं कि आपके प्रोजेक्ट में मोबाइल लेआउट के टेस्ट हैं या नहीं।
- ✓जब कोई पेज डेस्कटॉप पर ठीक दिखता है पर फ़ोन पर टूटता है और आप चाहते हैं कि टेस्ट उसे पकड़ें।
- ✓जब आप टेस्ट ऑटोमेशन सेट कर रहे हैं और मोबाइल डिवाइस प्रीसेट शामिल करना चाहते हैं।
Skill का लिंक
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/mobile-testing/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप जाँच सकते हैं कि मेरी साइट के फ़ोन स्क्रीन के लिए टेस्ट हैं या नहीं, और न हों तो कुछ जोड़ सकते हैं?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट मोबाइल डिवाइस सेटिंग्स, viewport टेस्ट या प्रोजेक्ट में नोट्स खोजता है। अगर वे नहीं मिलते, तो वह मुख्य उपयोगकर्ता प्रवाहों के लिए Playwright टेस्ट जोड़ता है, जो मोबाइल डिवाइस प्रीसेट इस्तेमाल करते हैं।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
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
अक्सर पूछे जाने वाले सवाल
क्या डेस्कटॉप पर डिवाइस एमुलेशन काफ़ी है?
स्किल कहती है कि एमुलेशन लेआउट की समस्याएँ पकड़ता है, पर असली touch व्यवहार नहीं, इसलिए असली डिवाइस की भी सिफ़ारिश है।
कौन-से स्क्रीन साइज़ सुझाए गए हैं?
स्किल 375, 390 और 768 पिक्सेल चौड़ाई को आम breakpoints के रूप में टेस्ट करने को कहती है।
क्या मैं ऐसे डिवाइस टेस्ट कर सकता हूँ जो मेरे पास नहीं हैं?
हाँ। स्किल उसके लिए BrowserStack जैसी सेवाओं का ज़िक्र करती है।
जानकारी
लेखक का मूल विवरण
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.
लोकप्रियता
- GitHub स्टार
- 75k
- रैंकिंग में स्थान
- #2940
- लाइसेंस
- MIT
- अपडेट की गई
- 31/10/2026
कमेंट
- …
इस repository की और skills
frontendchecklist
75kकमांड-लाइन टूल से फ़्रंटएंड कोड और लाइव पेजों को एक्सेसिबिलिटी, स्पीड, SEO और सिक्योरिटी के 380 से ज़्यादा नियमों से जाँचती है।
frontend-checklist-global
75kफ़्रंटएंड प्रोजेक्ट को Front-End Checklist के सभी 386 नियमों से ऑडिट करती है, और हर मिली समस्या का ठोस समाधान देती है।
404-page
75kजाँचती है कि आपका गुम पेज उपयोगी लिंक देता है और सही 404 स्टेटस लौटाता है, ताकि भटके हुए विज़िटर रास्ता ढूँढ सकें।
about-page
75kजाँचती है कि आपकी साइट पर एक साफ़ About पेज है जो बताता है कि उसे कौन चलाता है, ताकि विज़िटर और सर्च इंजन का भरोसा बढ़े।
मिलती-जुलती skills
test-driven-development
311kयह आपके एजेंट को किसी भी फ़ीचर या सुधार से पहले पहले असफल होने वाला टेस्ट लिखना, उसे असफल होते देखना, फिर पास करने वाला सबसे छोटा कोड लिखना सिखाती है।
verification-before-completion
311kयह आपके एजेंट को किसी काम, सुधार या build के पूरा या पास होने का दावा करने से पहले असली जांच चलाकर उसका आउटपुट पढ़ना सिखाती है।
migrate-to-shoehorn
310kआपकी टेस्ट फ़ाइलों में जोखिम भरे type casts की जगह shoehorn लाइब्रेरी लगाती है, ताकि टेस्ट अधूरे डेटा से भी type checks पास कर सकें।