TotalApp Docs

Test Plan & Test Runner Coming Soon

Structured test management with hierarchical plans, sprint cycles, and live Playwright execution.

In Active Development

Test Plan and Test Runner are not yet available. This page documents the planned feature set for both screens. They appear in the Manage Screens modal as disabled entries and will activate automatically when they ship.

Two Screens, One Mission

Test Plan and Test Runner are companion screens that cover the plan → execute → verify phase of the QA cycle.

  • Test Plan is where you organise what needs to be tested — hierarchical plans, suites, cases, coverage metrics, and sprint cycles.
  • Test Runner is where you execute those tests — on-demand runs, scheduled runs, live log streaming, and retry configuration.

They work together: a run triggered in Test Runner is linked back to the plan, and its results update the plan's coverage metrics automatically.

Test Plan — Planned Features

Test Plan provides a structured place to define what your team needs to test, track coverage, and organise work into sprint-level test cycles.

Hierarchical Organisation

Three-level hierarchy: Plan → Suite → Case. A plan groups related suites (e.g. "Checkout Flow"). A suite groups related cases (e.g. "Payment Methods"). Cases are individual test scenarios.

Coverage Tracking

Each plan shows a live coverage breakdown: pass / fail / skip counts and percentages. Drill down to suite or case level to find gaps. Coverage targets can be set per plan.

Sprint Cycles

Group test cases into sprint-level cycles. Assign cases to a sprint, mark them as planned or in-progress, and track completion as the sprint runs. Cycle results carry over to the plan's overall coverage.

Plan Structure

Each test case contains:

  • Title — Short description of what is being tested
  • Preconditions — Setup state required before the test can run
  • Steps — Numbered action steps with expected results
  • Expected result — What a passing outcome looks like
  • Priority — Critical / High / Medium / Low
  • Linked test file — Optional pointer to the Playwright .spec.ts file (enables automated execution from Test Runner)
  • Status — Not Run / Pass / Fail / Blocked / Skip

Coverage Metrics

At the plan level, coverage is summarised as:

MetricMeaning
Pass %Cases with status Pass divided by total cases
Fail %Cases with status Fail — needs investigation
Skip %Cases intentionally skipped (e.g. pending feature)
Blocked %Cases that cannot run due to an upstream dependency or blocker
Not Run %Cases not yet executed in the current cycle

Test Runner — Planned Features

Test Runner executes Playwright tests from within TotalApp without requiring a terminal or CI trigger. It is designed for on-demand spot checks, pre-merge smoke runs, and scheduled regression suites.

On-Demand Execution

Select a plan, suite, or individual case and run it immediately. Choose target browsers, worker count, and retry settings from the run config panel.

Scheduled Runs

Define a cron schedule for nightly or weekly regression suites. Scheduled run history is stored and linked back to Test Plan results.

Live Log Streaming

stdout and stderr from the Playwright process stream in real time with colour highlighting. PASS lines are green, FAIL lines are red, slow steps are amber — at a glance without scrolling.

Retry on Failure

Configure the number of automatic retries (0–3). Each retry attempt is logged separately. Retry data feeds directly into Flake Tracker's retry-rate calculation.

Screenshot on Fail

Automatically capture a full-page screenshot when a test step fails. Captured screenshots are sent immediately to Artifact Vault — no manual upload needed.

Run Configuration Options

OptionValuesDefault
Target browsersChromium, Firefox, WebKit (multi-select)Chromium
Workers1 – 8 (or auto)Auto (CPU count / 2)
Retries0 – 30
Screenshot on failOn / OffOn
Trace on failOn / Off / AlwaysOn
Timeout per test5s – 120s30s

How Test Plan and Test Runner Work Together

Create Plan
Add Suites & Cases
Run from Test Runner
Coverage Updates
Artifacts in Vault
  1. Create a plan in Test Plan and populate it with suites and cases. Link each case to its Playwright spec file if it has one.
  2. In Test Runner, select the plan and click Run. Configure browsers, workers, and retry settings.
  3. Watch live output stream in the log panel. Failed tests are highlighted immediately.
  4. When the run completes, Test Plan's coverage metrics update automatically — no manual status entry needed for linked cases.
  5. Failure screenshots and traces appear in Artifact Vault within seconds of the run ending.
  6. Retry rate data flows to Flake Tracker — tests that passed only after retries show an increased retry rate.

FAQ

Can I import test cases from an existing spreadsheet or Jira?
Planned: Test Plan will support CSV import for bulk case creation. Jira integration (bi-directional sync of test results with Jira issues) is on the roadmap but not in the initial release.
What happens to manual test cases (no linked spec file)?
Manual cases are fully supported. Their status must be updated manually after a human tester executes the steps. Coverage metrics include manual and automated cases in the same breakdown.
Can Test Runner be triggered from CI?
The initial release is a UI-only trigger. A CLI/API trigger for CI integration is planned for a follow-up release, enabling CI pipelines to kick off a Test Runner run and post results back to Test Plan.
When will these screens ship?
Both screens appear in the Manage Screens modal as disabled entries today. They will become active automatically when development is complete — no action needed from your side.