---
name: Formax Test Stability Workflow
slug: formax-test-stability-workflow
category: Quality
description: Formax Test Stability Workflow helps add or fix Formax tests with deterministic synchronization. Use it for Ink UI tests that need explicit waits, stable assertions, and reusable sync helpers.
github: "https://github.com/yusifeng/formax/tree/main/.codex/skills/formax-test-stability-workflow"
language: TypeScript
stars: 192
forks: 7
install: "npx degit https://github.com/yusifeng/formax/tree/main/.codex/skills/formax-test-stability-workflow ~/.claude/skills/formax-test-stability-workflow"
installs_to: ~/.claude/skills/formax-test-stability-workflow
source_path: .codex/skills/formax-test-stability-workflow/SKILL.md
collection_size: 22
category_size: 1745
collection_url: "https://dirskills.com/collections/yusifeng/formax"
added: 2026-09-06T05:19:20.419Z
last_synced: 2026-09-06T05:19:20.419Z
canonical_url: "https://dirskills.com/skills/formax-test-stability-workflow"
---

# Formax Test Stability Workflow

Formax Test Stability Workflow helps add or fix Formax tests with deterministic synchronization. Use it for Ink UI tests that need explicit waits, stable assertions, and reusable sync helpers.

**Install:**

```bash
npx degit https://github.com/yusifeng/formax/tree/main/.codex/skills/formax-test-stability-workflow ~/.claude/skills/formax-test-stability-workflow
```

## README

# Formax Test Stability Workflow

## Goal
- Write stable UI tests with explicit state sync.

## Do
- Wait for target state before next key (example: wait `❯ 3.` before typing feedback).
- Assert final behavior, not transient cursor frames (example: assert feedback `aXb`, not `a▏b`).
- In multi-step input flows, wait for idle state between steps (example: placeholder/queue-hint settled).

- Extract repeated sync steps into local helpers (example: `selectFeedbackRow`, `queueMessageWhileLoading`).

## Don't
- Do not fix flakes by only increasing timeout.
- Do not use long sleep as synchronization.
- Do not bind assertions to fragile render glyphs/spacing.
