Skip to main content
View detailed information for every test case including execution history, pass rate trends, recent runs, and replay links.

Test Cases Dashboard

Access all test cases at app.testdriver.ai/tests:

Test Cases

View all test cases with filtering and historical data

Test Case Information

Each test case displays:
  • Test Name - Full descriptive name
  • File - Source file location (e.g., test/testdriver.test.js)
  • Passed - Number of successful runs
  • Failed - Number of failed runs
  • Pass Rate - Success percentage with visual indicator
  • Trend - Sparkline showing recent pass/fail history
  • Change - Comparison to previous period
  • Last Run - Most recent execution time
  • Replay - Quick link to latest test replay
Find specific test cases quickly:
Last 24 hours (default)
Last week
Last month
Custom date range

Pass Rate Indicators

Visual status at a glance:

100% Pass Rate

Green bar - All runs passed

Partial Pass Rate

Yellow/Orange bar - Some failures

0% Pass Rate

Red bar - All runs failed

Test History

View complete execution history for any test:
Test: "should demonstrate formatted log in dashcam replay"
File: test/testdriver.test.js

Recent Runs:
┌─────────────┬────────┬──────────┬──────────┬─────────────────────┐
│ Run ID      │ Status │ Duration │ Platform │ Timestamp           │
├─────────────┼────────┼──────────┼──────────┼─────────────────────┤
│ run_abc123  │ PASSED │ 1.2s     │ Linux    │ 2 hours ago         │
│ run_abc122  │ PASSED │ 1.1s     │ Linux    │ 3 hours ago         │
│ run_abc121  │ FAILED │ 0.8s     │ Linux    │ 5 hours ago         │
│ run_abc120  │ PASSED │ 1.3s     │ Linux    │ 6 hours ago         │
└─────────────┴────────┴──────────┴──────────┴─────────────────────┘

Pass Rate: 75% (3/4 passed)
Avg Duration: 1.1s

Trend Visualization

See pass/fail patterns over time:
Sparkline Chart (Past 7 Days):
█ = Passed
▁ = Failed
  = Not run

Day:  1  2  3  4  5  6  7
     [█][█][▁][█][█][█][█]

Pass Rate Trend: ↑ 85% → 100% (improving)
Insights:
  • Identify flaky tests (inconsistent patterns)
  • Track stabilization efforts
  • Spot recent regressions
  • Validate fixes

Recent Test Runs

Quick access to latest executions:
Status: PASSED ✓
Duration: 54s
Platform: Linux + Chrome
Branch: main
Commit: 8cbef48
Timestamp: about 1 hour ago

[View Replay] [View Logs]

Flaky Test Identification

Tests with inconsistent results are flagged:
⚠️ FLAKY TEST DETECTED

Test: "should click Sign in and verify error message"
Flakiness Score: 42%

Last 10 Runs:
✓ ✗ ✓ ✓ ✗ ✓ ✗ ✓ ✓ ✓

Recommendation:
- Add explicit waits
- Check for race conditions
- Review network dependencies
- Enable anti-flake features

[View Flaky Run Comparison] [See Debugging Tips]

Pass/Fail History Chart

Detailed historical view:
Bar Chart (Last 30 Days):
- Green bars: Number of passed runs per day
- Red bars: Number of failed runs per day
- Height indicates total runs

Day  Passed  Failed  Total
Dec 1   5      0      5
Dec 2   8      2     10
Dec 3   6      1      7
...
Dec 9  12      3     15

Overall: 85% pass rate

Test Comparison

Compare test performance across branches or time periods:
Test: "should login successfully"

Branch: main
- Pass Rate: 95%
- Avg Duration: 1.2s
- Runs: 100

Branch: feature/new-auth
- Pass Rate: 87%
- Avg Duration: 1.8s
- Runs: 45

Difference:
- Pass Rate: -8% (regression)
- Duration: +50% (slower)

Export Test Cases

Download test case data:
Test Name,File,Passed,Failed,Pass Rate,Avg Duration,Last Run
should login,test/auth.test.js,45,5,90%,1.2s,2024-12-09T10:30:00Z
should checkout,test/shop.test.js,38,12,76%,3.4s,2024-12-09T10:25:00Z

Bulk Actions

Manage multiple tests at once:

Re-run Selected

Re-execute failed or flaky tests

Mark as Known Issue

Track expected failures

Add to Watch List

Monitor specific tests

Export Selection

Download filtered results

Integration with Replays

Quick access to debugging tools:
import { test } from 'vitest';
import { chrome } from 'testdriverai/presets';

test('trackable test case', async (context) => {
  const { testdriver, dashcam } = await chrome(context, {
    url: 'https://example.com'
  });

  await testdriver.find('button').click();
  
  // After test completes:
  // - Test case appears in dashboard
  // - Replay automatically linked
  // - History updated
  // - Pass rate recalculated
  console.log('Replay URL:', dashcam.url);
});

Learn More