e2e-testing
यह क्या करती है
यह स्किल जाँचती है कि कोई प्रोजेक्ट अपने मुख्य उपयोगकर्ता सफ़र शुरू से अंत तक टेस्ट करता है या नहीं। यह उन डेवलपर के लिए है जो ग्राहकों से पहले समस्याएँ पकड़ना चाहते हैं।
कब इस्तेमाल करें
- ✓जब आपके ऐप में साइन-अप, चेकआउट या दूसरे मुख्य फ़्लो हैं, पर स्वचालित टेस्ट नहीं हैं।
- ✓जब टेस्ट मौजूद हैं, लेकिन आपकी बिल्ड पाइपलाइन में नहीं चलते।
- ✓जब आप अपने प्रोजेक्ट में Playwright या Cypress टेस्ट जोड़ना चाहते हैं।
Skill का लिंक
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/e2e-testing/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप साइन-अप और चेकआउट फ़्लो के लिए end-to-end टेस्ट जोड़ सकते हैं?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट आपके मौजूदा टेस्ट और बिल्ड पाइपलाइन को देखता है। वह Playwright या Cypress जैसे टूल से ज़रूरी सफ़रों के लिए टेस्ट सुझाता है, और जाँचता है कि विफलताएँ रिलीज़ रोकती हैं।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Implement end-to-end testing
E2E tests catch integration issues that unit tests miss—verifying your application works correctly from the user's perspective across all components.
Quick Reference
- Test critical user journeys: authentication, checkout, core business flows
- Use data-testid attributes for stable, maintainable selectors
- Implement Page Object Model for reusable test components
- Run E2E tests in CI/CD with artifact uploads on failure
Check
Review this project for E2E test coverage of critical user journeys like authentication, checkout, and form submissions.
Fix
Add E2E tests for critical user journeys using Playwright or Cypress.
Explain
Explain E2E testing best practices including test organization, selectors, and CI/CD integration.
Code Review
Review tests, CI workflows, and enforcement points related to Implement end-to-end testing. 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/e2e-testing
अक्सर पूछे जाने वाले सवाल
end-to-end का क्या मतलब है?
इसका मतलब है पूरे ऐप को उपयोगकर्ता की तरह टेस्ट करना, पहली स्क्रीन से अंतिम परिणाम तक।
data-testid एट्रिब्यूट क्यों इस्तेमाल करें?
स्किल इन्हें स्थिर सिलेक्टर के रूप में सुझाती है, जो स्टाइल बदलने पर नहीं टूटते।
टेस्ट विफल होने पर क्या होना चाहिए?
स्किल कहती है कि विफलताएँ रिग्रेशन रोकें, और जब रन विफल हो तो समीक्षा के लिए टेस्ट परिणाम अपलोड हों।
जानकारी
लेखक का मूल विवरण
Use when reviewing CI coverage, automated checks, or test strategy related to Implement end-to-end testing. Focus on whether the rule is continuously verified, not just documented.
लोकप्रियता
- GitHub स्टार
- 75k
- रैंकिंग में स्थान
- #2827
- लाइसेंस
- 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 पास कर सकें।