webapp-testing-assertion-examples

Sub-skill of webapp-testing: Assertion Examples (+1).

5 stars

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

$curl -o ~/.claude/skills/assertion-examples/SKILL.md --create-dirs "https://raw.githubusercontent.com/vamseeachanta/workspace-hub/main/.agents/skills/_archive/development/webapp-testing/assertion-examples/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/assertion-examples/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How webapp-testing-assertion-examples Compares

Feature / Agentwebapp-testing-assertion-examplesStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/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

5
from vamseeachanta/workspace-hub

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

5
from vamseeachanta/workspace-hub

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

5
from vamseeachanta/workspace-hub

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

5
from vamseeachanta/workspace-hub

Sub-skill of skill-creator: Inspiration & Examples.

github-actions-2-matrix-builds-for-cross-platform-testing

5
from vamseeachanta/workspace-hub

Sub-skill of github-actions: 2. Matrix Builds for Cross-Platform Testing.

orcaflex-static-debug-incremental-static-testing

5
from vamseeachanta/workspace-hub

Sub-skill of orcaflex-static-debug: Incremental Static Testing (+1).

webapp-testing-wait-for-dynamic-content

5
from vamseeachanta/workspace-hub

Sub-skill of webapp-testing: Wait for Dynamic Content (+5).

webapp-testing-static-html

5
from vamseeachanta/workspace-hub

Sub-skill of webapp-testing: Static HTML (+2).

webapp-testing-start-server-before-testing

5
from vamseeachanta/workspace-hub

Sub-skill of webapp-testing: Start Server Before Testing (+1).

webapp-testing-slow-motion

5
from vamseeachanta/workspace-hub

Sub-skill of webapp-testing: Slow Motion (+3).

webapp-testing-example-1-screenshot-comparison-testing

5
from vamseeachanta/workspace-hub

Sub-skill of webapp-testing: Example 1: Screenshot Comparison Testing (+2).

devtools-testing-devtools-skills

5
from vamseeachanta/workspace-hub

Sub-skill of devtools: Testing DevTools Skills.