- Fix login test that fails because registration auto-authenticates
- Add modular test structure with clear pass/fail reporting
- Skip moderation tests in CI (detects test-key, no real OpenAI)
- Actually run all test functions (some were defined but never called)
- Early exit on critical failures instead of running useless tests
- Clean up CI workflow env vars
Simplifies test output by printing progress symbols ('.', 'F', 'E') instead of verbose messages. Removes test name display and emoji, streamlining the test summary for easier reading.
Eliminated the custom log method and all log calls from the AutoModerateE2ETest class. The test output now uses print statements only for high-level test progress and results, simplifying the code and reducing verbosity.
Removes verbose and redundant log messages from the end-to-end tests, focusing on concise error and success reporting. Sensitive response details and internal state are no longer logged, improving test output clarity and reducing noise.
Updated e2e tests to avoid logging user emails and API key fragments. This improves security and prevents sensitive information from appearing in test output.
Introduces CSRF token extraction using BeautifulSoup and updates user registration, login, project creation, and API key creation flows to include CSRF tokens in form submissions. This improves test reliability and compatibility with CSRF-protected endpoints.
Updated GitHub Actions workflow and test suite to run only core platform tests, removing OpenAI-dependent moderation tests and related environment variables. This streamlines CI validation to ensure platform deployment and basic functionality without external dependencies.
Updated the workflow to use the GPT-5 model with larger context and output token limits. Enhanced e2e_test.py with clearer test content, stricter pass/fail logic for moderation, improved error handling, and more detailed logging for both safe and suspicious content moderation cases.
Refactored e2e test logic to separate core infrastructure, moderation, and stats tests. Moderation tests now run only if core tests pass, and failures in moderation are reported with more context. The suite now considers core infrastructure passing as the main success criterion, improving CI reliability and diagnostics. Also added SQL_DEBUG env var to workflow.
Enhances the E2E test logic for project creation by handling redirects more robustly and extracting project IDs from both redirect URLs and HTML. Refactors API key creation to first retrieve the default key, and adds a method to create additional keys if none exist, improving reliability and error handling.
Changed API endpoint paths in e2e_test.py to reflect updated routes, including '/auth/register', '/auth/login', and '/dashboard/projects/'. Ensures tests target the correct endpoints after backend route changes.
Introduces a GitHub Actions workflow for end-to-end testing and adds a comprehensive e2e test script. Refactors input handling in API and auth routes by removing unnecessary HTML escaping, relying on validation and normalization instead.