Codex Eyas Electron E2E Tests That Wait for Visible UI
Handle first-run state and use observable Playwright readiness checks in Eyas Electron tests.
中文Install in Codex
Open the Eyas Electron project in Codex with its Playwright test setup and an isolated profile for the scenario.
- Review `.agents/skills/electron-e2e-testing/SKILL.md` and its requirements at the pinned GitHub commit.
- Create `.agents/skills/electron-e2e-testing/` in your project and save the reviewed file as `.agents/skills/electron-e2e-testing/SKILL.md`.
- Start Codex from that project's root, then type `$electron-e2e-testing` and select the matching skill.
Example task
Plan wait conditions for this illustrative first-run menu test.
{"freshProfile":true,"initialModal":"environment selection","target":"Settings","expected":"visible"}What to check
Complete environment selection and then wait for `Settings=visible`. Use selector state for the assertion.
Original SKILL.md on GitHub · Updated
Frequently asked question
Why avoid a fixed delay?
A delay alone does not confirm readiness. Wait for a selector, visibility or an established project signal.