Files
CatoandClaude f1e5fbadcd test(planner): the planner is checked signed in on the live site; the E2E sign-in waits for the form (#1822)
* test(planner): the planner is checked signed in, on the live site

Linking a calendar was off in production for a day while unit tests stayed
green. This spec signs in as the E2E account and does what a person does:
a task due today shows in the calendar with its actions, an entry is added,
the account's own feed is linked by its iCal address and read, a public
service says when it is free, and a task is handed to a bot (or the reason
it cannot be is said). It removes what it made. Run by the daily E2E Auth
workflow and on dispatch.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmvmcF5JN8LusW4FjQg

* ci(diag): temporary sign-in probe for the live E2E account

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmvmcF5JN8LusW4FjQg

* test(planner): the live check hands a task to a bot it makes for the purpose; sign-in waits long enough

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmvmcF5JN8LusW4FjQg

* test(e2e): a sign-in that does not land says what it was answered

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmvmcF5JN8LusW4FjQg

* test(e2e): sign in only once the form has been taken over by React

All three attempts of the 16:20 UTC run stayed on /auth with 'Enter your
email address.' and no sign-in call: the fields were filled before
hydration and wiped by it, so the form was sent empty. The daily E2E Auth
run failed the same way at 12:07.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmvmcF5JN8LusW4FjQg

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-15 17:43:03 +01:00
..

Tests Directory

This directory contains all test files organized by type and purpose.

Directory Structure

  • auth/ - Authentication-related tests
  • e2e/ - End-to-end tests using Playwright
  • manual/ - Manual testing scripts and utilities
  • security/ - Security-focused tests
  • setup/ - Test setup and configuration

Test Types

  • Unit Tests: Located in __tests__/ directories next to source files
  • Integration Tests: API and service integration tests
  • E2E Tests: Full user journey tests using Playwright
  • Security Tests: Security vulnerability and policy tests
  • Manual Tests: Scripts for manual testing scenarios

Running Tests

# All tests
npm test

# Unit tests only
npm run test:unit

# Integration tests
npm run test:integration

# E2E tests
npm run test:e2e

# Security tests
npm run test:security

# Auth tests
npm run test:auth

Test Configuration

  • vitest.config.ts (repo root) - Vitest configuration
  • playwright.config.ts - Playwright E2E configuration
  • setup.ts - Global test setup
  • TestWrapper.tsx - React testing utilities