मुख्य सामग्री पर जाएँ
Skillpedia
टेस्टिंग48k · #4503

e2e-testing-patterns

यह क्या करती है

यह टूल किसी वेबसाइट या ऐप्लिकेशन की जांच के लिए ऑटोमेटिक टेस्ट बनाने में मदद करता है। यह सुनिश्चित करता है कि आपके बदलाव करने पर चीज़ें टूटें नहीं, जिससे आप नए वर्शन ज़्यादा भरोसे के साथ रिलीज़ कर सकें।

कब इस्तेमाल करें

  • ✓वेबसाइट की फ़ंक्शनैलिटी जांचने के लिए ऑटोमेटिक टेस्ट बनाते समय।
  • ✓जब टेस्ट जो पास होने चाहिए, बिना किसी साफ़ वजह के फेल हो रहे हों।
  • ✓वेबसाइट के सबसे ज़रूरी हिस्से हमेशा काम करते रहें, यह पक्का करने के लिए।

Skill का लिंक

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/e2e-testing-patterns/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/e2e-testing-patterns/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मैं कैसे टेस्ट करूं कि गलत पासवर्ड डालने पर लॉगिन सही तरीके से फेल होता है?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

यह उन स्टेप्स को परिभाषित करके काम करता है जो एक यूज़र उठाएगा, जैसे बटन क्लिक करना और फॉर्म भरना, और फिर जांचता है कि नतीजा अपेक्षित है या नहीं। यह कई स्थितियों को जल्दी टेस्ट करने के लिए अपने-आप होता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

E2E Testing Patterns

Build reliable, fast, and maintainable end-to-end test suites that provide confidence to ship code quickly and catch regressions before users do.

Use this skill when

  • Implementing end-to-end test automation
  • Debugging flaky or unreliable tests
  • Testing critical user workflows
  • Setting up CI/CD test pipelines
  • Testing across multiple browsers
  • Validating accessibility requirements
  • Testing responsive designs
  • Establishing E2E testing standards

Do not use this skill when

  • You only need unit or integration tests
  • The environment cannot support stable UI automation
  • You cannot provision safe test accounts or data

Instructions

  1. Identify critical user journeys and success criteria.
  2. Build stable selectors and test data strategies.
  3. Implement isolated tests with observable assertions and tracing; diagnose retries rather than counting a retry as an ordinary pass.
  4. Run in CI with parallelization and artifact capture.

Safety

  • Avoid running destructive tests against production.
  • Use dedicated test data and scrub sensitive output.

Resources

  • resources/implementation-playbook.md for detailed E2E patterns and templates.

Worked example

Input: invalid login sometimes appears successful because the test reads the error before rendering finishes. Use a dedicated fixture account and assert await expect(page.getByRole('alert')).toContainText('Invalid credentials'). Run the test without retries and confirm the dashboard remains inaccessible. Expected: the failure state is observed reliably; a delayed error cannot silently pass.

Inputs and prerequisites

An authorized test URL, isolated accounts/data, the installed browser runner and known success/failure states. The playbook uses project-specific routes and adapters; install only the dependencies your existing suite needs.

Limitations

  • A mocked backend or payment provider proves only the mocked boundary; retain separate real integration checks.
  • Automated accessibility scans miss interaction and assistive-technology problems.
  • Retries, larger timeouts and updated snapshots can hide regressions; preserve first-failure evidence.
  • Browser tooling cannot validate a locked or unavailable interactive environment. Report that gap and continue independent tests.
अक्सर पूछे जाने वाले सवाल

End-to-end टेस्ट क्या होते हैं?

ये ऐसे टेस्ट हैं जो वेबसाइट या ऐप्लिकेशन पर यूज़र के पूरे अनुभव की नकल करते हैं, यानी किसी काम की शुरुआत से लेकर अंत तक।

भरोसेमंद टेस्ट क्यों ज़रूरी हैं?

भरोसेमंद टेस्ट यह सुनिश्चित करते हैं कि नए बदलाव पुरानी फ़ंक्शनैलिटी को न तोड़ें, जिससे नए वर्शन तेज़ी से रिलीज़ करने का भरोसा मिलता है।

'Flaky' टेस्ट क्या होते हैं?

ये ऐसे टेस्ट हैं जो कभी पास होते हैं और कभी फेल, बिना कोड में किसी बदलाव के। इसलिए इन पर भरोसा करना मुश्किल होता है।

जानकारी

लेखक का मूल विवरण

Build reliable, fast, and maintainable end-to-end test suites that provide confidence to ship code quickly and catch regressions before users do.

repo: sickn33/agentic-awesome-skills

लोकप्रियता

GitHub स्टार
48k
रैंकिंग में स्थान
#4503
लाइसेंस
MIT
अपडेट की गई
15/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

00-andruia-consultant

48k

आपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।

AI और एजेंटएजेंट

007

48k

आपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।

कोडिंगसिक्योरिटी

10-andruia-skill-smith

48k

आपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।

AI और एजेंटएजेंट

20-andruia-niche-intelligence

48k

आपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।

लेखन और डॉक्यूमेंटरिसर्च

मिलती-जुलती skills