跳到技能内容
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
词映 AI导航
工具库Skills 技能
我的收藏
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
Skills directory/lakernote/EasyPostman/swing-ui-test-headless-guard

Codex Swing UI Tests in Headless CI

Make EasyPostman Swing tests report a clean skip when the CI worker has no display.

中文

Install in Codex

Codex, the EasyPostman checkout, a JDK, and Maven.

  1. Copy the pinned `.codex/skills/swing-ui-test-headless-guard/` directory into `.agents/skills/swing-ui-test-headless-guard/` in the project.
  2. Select `$swing-ui-test-headless-guard` and identify the UI test class.

Example task

Add a sample test for a window title and compare results with and without `java.awt.headless=true`.

What to check

The test runs with a display and reports a clear skip without one.

Original SKILL.md on GitHub · Updated 2026-11-13

Frequently asked question

Should ordinary logic tests inherit the base class?

Limit the base class to Swing tests that need a display.

Browse Codex skills in the Chinese directory
词映 AI 导航Skills 技能
工具分类全部工具已本地化技能选型指南AI 快讯