Skip to content

[TEST] Add Vitest coverage for the web console - #1243

Merged
canihavesomecoffee merged 2 commits into
CCExtractor:masterfrom
NaitikVerma6776:test/web-console-coverage
Nov 9, 2026
Merged

canihavesomecoffee merged 2 commits into
CCExtractor:masterfrom
NaitikVerma6776:test/web-console-coverage

Conversation

@NaitikVerma6776

Copy link
Copy Markdown
Contributor

Summary

  • Adds Vitest + Testing Library coverage for the GSoC web console (web/), which previously had no tests and no npm test in CI.
  • Covers session/auth (expired tokens, vague 401 copy, dead-token reload), run/sample mapping (Linux+Windows grouped per commit, PR runs kept out of test history), href allowlists, caption cue parsing, Login, failing-run DiffDrawer, and status badges.

Test plan

  • cd web && npm test (32 tests)
  • cd web && npm run lint && npx tsc -b
  • Confirm the Web console workflow runs npm test

@canihavesomecoffee

Copy link
Copy Markdown
Member

Can you rebase?

@NaitikVerma6776
NaitikVerma6776 force-pushed the test/web-console-coverage branch from fec29d6 to 3bd2ecd Compare November 2, 2026 03:13
@NaitikVerma6776

Copy link
Copy Markdown
Contributor Author

Rebased onto current master. History tests now follow the master-run folding from #1246 (a Linux-only failure counts as failing the commit).

@canihavesomecoffee
canihavesomecoffee force-pushed the test/web-console-coverage branch from 3bd2ecd to 30d43b5 Compare November 9, 2026 20:57
@sonarqubecloud

sonarqubecloud Bot commented Nov 9, 2026

Copy link
Copy Markdown

@canihavesomecoffee
canihavesomecoffee merged commit 3e6501f into CCExtractor:master Nov 9, 2026
7 checks passed
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.

2 participants