webapp-testing-assertion-examples
Sub-skill of webapp-testing: Assertion Examples (+1).
Best use case
webapp-testing-assertion-examples is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Sub-skill of webapp-testing: Assertion Examples (+1).
Teams using webapp-testing-assertion-examples should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/assertion-examples/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How webapp-testing-assertion-examples Compares
| Feature / Agent | webapp-testing-assertion-examples | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Sub-skill of webapp-testing: Assertion Examples (+1).
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Assertion Examples (+1)
## Assertion Examples
```python
from playwright.sync_api import expect
# Text content
expect(page.locator("h1")).to_have_text("Welcome")
# Visibility
expect(page.locator(".modal")).to_be_visible()
expect(page.locator(".loading")).to_be_hidden()
*See sub-skills for full details.*
## Test Structure
```python
import pytest
from playwright.sync_api import sync_playwright
@pytest.fixture(scope="session")
def browser():
with sync_playwright() as p:
browser = p.chromium.launch()
yield browser
browser.close()
*See sub-skills for full details.*Related Skills
webapp-testing
Web application testing toolkit using Playwright with Python. Use for verifying frontend functionality, debugging UI behavior, capturing browser screenshots, viewing browser logs, and automating web interactions.
testing-tdd-london
TDD London School (mockist) specialist for mock-driven, outside-in development. Use for behavior verification testing, contract-driven development, testing object collaborations, or when focusing on HOW objects interact rather than WHAT they contain.
testing-production
Production validation specialist ensuring applications are fully implemented and deployment-ready. Use to verify no mock/stub/fake implementations remain, validate against real databases and APIs, perform end-to-end testing with actual systems, and confirm production readiness.
skill-creator-inspiration-examples
Sub-skill of skill-creator: Inspiration & Examples.
github-actions-2-matrix-builds-for-cross-platform-testing
Sub-skill of github-actions: 2. Matrix Builds for Cross-Platform Testing.
orcaflex-static-debug-incremental-static-testing
Sub-skill of orcaflex-static-debug: Incremental Static Testing (+1).
webapp-testing-wait-for-dynamic-content
Sub-skill of webapp-testing: Wait for Dynamic Content (+5).
webapp-testing-static-html
Sub-skill of webapp-testing: Static HTML (+2).
webapp-testing-start-server-before-testing
Sub-skill of webapp-testing: Start Server Before Testing (+1).
webapp-testing-slow-motion
Sub-skill of webapp-testing: Slow Motion (+3).
webapp-testing-example-1-screenshot-comparison-testing
Sub-skill of webapp-testing: Example 1: Screenshot Comparison Testing (+2).
devtools-testing-devtools-skills
Sub-skill of devtools: Testing DevTools Skills.