Skip to content

feat(test): configure the headless idiom - #642

Draft
houko wants to merge 1 commit into
mainfrom
feat/nsgotest-idiom
Draft

houko wants to merge 1 commit into
mainfrom
feat/nsgotest-idiom

Conversation

@houko

@houko houko commented Nov 18, 2026

Copy link
Copy Markdown
Collaborator

Implements #261 with a focused nsgotest.Idiom option.

Headless tests continue to default to the phone idiom. Tests that need desktop presentation can pass nsgotest.Idiom(core.IdiomDesktop), which changes only the idiom and enables desktop-only behavior such as hover tooltips without replacing the full environment.

Validation:

  • go tool nsgo test ./nsgotest -run '^TestIdiomOptionChangesOnlyTheIdiom$'

@github-actions github-actions Bot added documentation Improvements or additions to documentation enhancement New feature or request size/S labels Nov 18, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant