LogoClawIndex
CasesSkillsAbout
LogoClawIndex

service-worker-lifecycle-tests - Generate Playwright tests for service worker lifecycle transitions

Generate a Playwright spec for Service Worker state transitions, lifecycle events, upgrade paths, and controller changes.

Tags

Updated: 2026-10-01

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Generate transition test cases
  • Test install and activate waits
  • Test skipWaiting upgrade behavior
  • Test Clients.claim controller changes
  • Test redundant state transitions
  • Assert controller state changes

Inputs

  • Service Worker source file
  • Registration URL
  • Test page URL
  • Lifecycle method usage
  • Slow-install Service Worker fixture

Outputs

  • Playwright spec file
  • Lifecycle test results
  • Service Worker state observations

Requirements

  • Playwright test environment
  • Service Worker-enabled browser
  • Test server serving fixtures
  • HTTPS or localhost origin

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
service-worker
lifecycle-testing
playwright
pwa
web-platform
Generate transition test cases
Test install and activate waits
Test skipWaiting upgrade behavior
Test Clients.claim controller changes
Service Worker source file
Registration URL
Test page URL
Playwright spec file
Lifecycle test results
Service Worker state observations