-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Description
Overview
27 E2E tests were deleted because they used the legacy AdCP API format (product_ids, budget as number, start_date/end_date) which no longer passes schema validation. These need to be reimplemented using the NEW AdCP V2.3 format.
What Was Deleted
- test_adcp_full_lifecycle.py: 16 tests (1,882 lines)
- test_mock_server_testing_backend.py: 5 tests (344 lines)
- test_testing_hooks.py: 6 tests (309 lines)
- Total: 27 tests, 2,535 lines (73% of E2E code)
Current State
Still working (9 tests):
✅ test_media_buy_creation_with_targeting - NEW format REFERENCE
✅ test_product_discovery, test_signals_discovery, etc. (no media buy creation)
HIGH Priority Tests to Reimplement (17 tests)
Creative Management
- test_creative_workflow - Creative lifecycle, groups, multiple formats
- test_creative_approval_workflow - HITL approval, auto-approval logic
- test_adcp_spec_compliance - Protocol compliance validation
Delivery & Metrics
- test_delivery_metrics_comprehensive - Comprehensive delivery reporting
- test_delivery_monitoring_over_time - Time-series tracking
- test_performance_optimization - Performance tracking & optimization
- test_performance_optimization_comprehensive - Advanced optimization
Campaign Lifecycle
- test_full_campaign_lifecycle - Complete campaign flow
- test_complete_campaign_lifecycle_standard - Standard lifecycle patterns
- test_multi_product_campaign_lifecycle - Multi-product campaigns
- test_campaign_with_frequency_capping - Frequency cap validation
- test_campaign_updates_and_modifications - Campaign modification flow
Testing Hooks
- test_dry_run_header - Dry-run mode validation
- test_mock_time_header - Time simulation
- test_jump_to_event_header - Event jumping
- test_test_session_id_isolation - Session isolation
- test_combined_hooks - Multiple hooks together
Implementation Guide
Reference: Use test_media_buy_creation_with_targeting as template
Documentation
See E2E_TEST_COVERAGE_GAPS.md for complete analysis.
Estimated Effort
HIGH priority: 40-60 hours
Metadata
Metadata
Assignees
Labels
No labels