Skip to content

Document unified UI automation framework for test workflows and AI tooling#994

Draft
Copilot wants to merge 2 commits into
devfrom
copilot/investigate-ui-test-frameworks
Draft

Document unified UI automation framework for test workflows and AI tooling#994
Copilot wants to merge 2 commits into
devfrom
copilot/investigate-ui-test-frameworks

Conversation

Copilot AI commented Jun 1, 2026

Copy link
Copy Markdown

ResInsight currently lacks a defined framework for UI-level workflow verification (e.g., create/manipulate/delete range filters) and for AI-driven UI event simulation. This PR adds a concrete, shared approach that covers both needs with one architecture.

  • What was added

    • Updated docs/agents/core.md with a new UI Automation and UI Testing section.
    • Defined a single recommended stack:
      • In-app automation API: Qt Http Server (qthttpserver) exposed on localhost.
      • External runner/client: Playwright for orchestration and assertions.
  • Why this architecture

    • Provides one stable automation surface for both CI-style UI workflow tests and AI tooling.
    • Avoids brittle desktop event-only automation by introducing a deterministic API boundary.
  • Alternatives documented

    • QTest-only: useful for in-process widget tests, limited for external AI tooling.
    • Squish: capable but introduces commercial tooling overhead.
    • Playwright-only (no in-app API): runner is strong, but desktop Qt targeting is less robust.
## UI Automation and UI Testing

- Automation transport: Qt Http Server (`qthttpserver`)
- Automation client/test runner: Playwright

Copilot AI linked an issue Jun 1, 2026 that may be closed by this pull request
Co-authored-by: magnesj <1793152+magnesj@users.noreply.github.com>
Copilot AI changed the title [WIP] Investigate UI test framework for AI tooling and unit tests Document unified UI automation framework for test workflows and AI tooling Jun 1, 2026
Copilot AI requested a review from magnesj June 1, 2026 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Framework used for AI tooling and UI unit tests

2 participants