{"enrichment":{"faq":[{"a":"login-flows provides battle-tested code patterns for automating login flows in Playwright end-to-end tests. The skill focuses on reusable authentication strategies that reduce hallucination and improve test reliability across sessions. You'll find curated examples covering standard username/password flows, OAuth and SSO integrations, multi-factor authentication handling, and techniques for persisting browser state to avoid repeated login steps in your test suites.","q":"What are the main playwright login automation patterns this skill covers?"},{"a":"login-flows offers community-maintained patterns that show you how to automate login in playwright tests through multiple approaches. The skill includes examples for direct credential-based login, OAuth redirect handling, and SSO flows. You can also learn how to configure global setup and storageState in Playwright to persist authentication state between test runs, which speeds up your test suites by eliminating redundant login steps for each test.","q":"How to automate login in playwright tests using this skill's patterns?"},{"a":"Yes, login-flows is specifically designed to help you learn how to handle OAuth, SSO, and multi-factor authentication in test automation. The skill provides best practices for managing these complex authentication flows, including examples for automating Google sign-in, handling OAuth redirects, and implementing TOTP/2FA code generation within your Playwright tests. These patterns help you test login without repeating authentication across your entire test suite.","q":"Can login-flows help with OAuth, SSO, and multi-factor authentication in test automation?"},{"a":"login-flows teaches you how to speed up test suites by persisting and reusing browser authentication state through Playwright's storageState feature and global setup configuration. Rather than logging in for every test, you can authenticate once in a setup phase, save the browser state, and reuse it across multiple tests. This approach dramatically reduces test execution time while maintaining security best practices for managing test credentials and avoiding repeated login steps.","q":"What's the best way to speed up test suites by persisting and reusing browser authentication state?"},{"a":"login-flows provides best practices for managing test credentials and avoiding repeated login steps in your Playwright test suites. The skill covers secure credential handling patterns, configuration of global setup workflows, and techniques for storing and retrieving authentication state. By implementing these reusable login patterns from login-flows, you can design end-to-end testing workflows that authenticate once and share that state across all tests, significantly improving both speed and maintainability.","q":"How does login-flows help with managing test credentials and avoiding repeated login steps?"},{"a":"login-flows explains how to understand and configure global setup and storageState in Playwright to create persistent login state for your test automation. The skill provides code examples showing how to set up a global authentication phase that runs once before your test suite, capture the resulting browser state, and inject that state into subsequent tests. This configuration pattern is central to reusable login patterns in e2e testing and eliminates the need to automate web app login testing repeatedly for every single test case.","q":"What does login-flows teach about configuring global setup and storageState in Playwright?"}],"shadow_tags":["auth-state-persistence","e2e-testing-patterns","credential-handling","multi-factor-auth","browser-automation-recipes","oauth-flow-testing","test-performance-optimization","sso-automation"],"summary_rewrite":"This skill provides battle-tested login automation patterns designed for Playwright end-to-end tests. Access curated code examples and authentication strategies that reduce hallucination and improve test reliability across sessions. Contribute and benefit from community-maintained patterns that evolve with real-world testing needs."},"files":[{"bytes":2862,"path":"content/playwright-community/skills/login-flows/SKILL.md","sha256":"3eeca4af763eb17c9762c632ee2a2dc7f1173f8503715247cf20ed85274c5841","url":"https://skillfed.io/files/andrewyng/context-hub/login-flows/e6a2f8cb/SKILL.md"}],"id":"andrewyng/context-hub/login-flows","links":{"html":"https://skillfed.io/andrewyng/context-hub/login-flows","md":"https://skillfed.io/andrewyng/context-hub/login-flows.md","repo":"https://github.com/andrewyng/context-hub"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":1205,"language":"JavaScript","last_updated":"2026-05-31","license":"MIT","name":"login-flows","publisher":"andrewyng","stars":13862},"relations":{"similar":[{"id":"activepieces/activepieces/playwright-e2e-testing"},{"id":"bobmatnyc/claude-mpm-skills/playwright"},{"id":"echoVic/boss-skill/e2e-playwright"},{"id":"secondsky/claude-skills/playwright"},{"id":"julianobarbosa/claude-code-skills/playwright"},{"id":"AIDotNet/MoYuCode/playwright"},{"id":"johnlindquist/claude/chrome"},{"id":"EliasOulkadi/shokunin/playwright"},{"id":"QuestForTech-Investments/claude-code-skills/playwright-skill"},{"id":"umbraco/Umbraco-CMS-Backoffice-Skills/umbraco-e2e-testing"}]},"slug":{"owner":"andrewyng","repo":"context-hub","skill":"login-flows"},"version":"e6a2f8cb"}
