◉ANTIGRAVITY LABJP
TAG

playwright

9 articles
← Back to all tags
Related:
Antigravity5indie development3antigravity3testing3accessibility2agents2ci-cd2indie dev1vitest1quality-assurance1github-actions1premium1
✦ Tips/2026-11-17Intermediate

Why a Small sizes Value Shrinks the Image Itself, and the CSS Line to Add When width and height Attributes Stretch It

The day I added responsive images, one artwork shrank and another stretched sideways. How sizes sets the displayed size, the one CSS line for width and height attributes, and how to work out sizes for tall art in a frame, with numbers and a check script.

▣ App Dev/2026-10-30Intermediate

After I Closed the Image Viewer with Esc, the Page Behind It Stopped Scrolling: What I Counted When Moving to the dialog Element

While fixing the full-screen image viewer on my own site, I worked through three problems in order: Esc did nothing, the page behind kept scrolling, and the close button sat on top of the artwork. Even after moving to dialog, one bug remained, with a check script and numbers.

✦ Tips/2026-10-19Advanced

After I Rewrote the URL, Only the Not-Yet-Loaded Images Returned 404: Checking replaceState and Relative Paths

After rewriting the URL with history.replaceState when moving from a list to a detail view, only the images that had not loaded yet returned 404. Native loading=lazy broke too. Here are a minimal test page, a check script, and three fixes compared.

✦ Tips/2026-10-15Intermediate

The Images Weren't Broken, My Way of Checking Them Was: Doubting the iframe First, Then Reading currentSrc

A record of misdiagnosing healthy images as unloaded because I audited them through an iframe in a separate tab. In a hidden frame, naturalWidth reads 0 at a rendered width of 0, and lazy images never start. Here are the numbers I reproduced locally, an audit script that reads currentSrc and rendered width on the real page, and the trap of bulk-replacing CSS values with a regex.

◈ Agents/2026-04-16Advanced

Building an AI Test Pipeline with Antigravity Agents: Automating Quality Assurance in Production

Learn how to build a production-grade automated test pipeline using Antigravity's AI agents — from unit test generation to E2E testing with Playwright, complete with validation layers and CI/CD integration.

◈ Agents/2026-06-18Advanced

Handing Visual Regression to a Parallel Agent in Antigravity 2.0

A design for running a dedicated headless visual-regression agent alongside your main implementation agent using Antigravity 2.0's parallel orchestration — with a working harness and the reproducibility traps I hit in production.

⬡ Integrations/2026-06-17Advanced

Feeding axe-core Findings to an Antigravity Agent: An Accessibility Fix Loop in CI

Detect accessibility violations with axe-core, hand them to an Antigravity agent as fixable tasks, and wire detection, triage, fixing, and re-verification into a single CI loop. Includes a diff gate that blocks only new violations and a scoping design that keeps the agent from breaking screen readers.

✦ Tips/2026-04-01Advanced

Antigravity × TDD Mastery: AI-Paired Development Strategy for Zero-Bug Production Code

Master TDD with Antigravity: auto-generate Vitest and Playwright tests, build smart mocks, enforce coverage thresholds, and ship with CI/CD quality gates.

⟐ Editor/2026-03-14Advanced

Auto-Generate Test Code with Antigravity AI — Unit, Integration & E2E Testing Strategy

Generate unit, integration, and E2E tests with Antigravity AI: Playwright-based E2E strategy, mutation testing concepts, and agent usage best practices.