Company Logo

Tripsales API — автотесты

⚙️ Test Configuration
Test Type:
Automated Test Suite
Execution Mode:
Sequential
Parallel Execution:
No
Retry Failed Tests:
No
Test Data Source:
Configuration Files
Reporting Format:
HTML
Screenshot on Failure:
Yes
Video Recording:
No
🌍 Environment Details
Python Version:
3.12.13
Pytest Version:
9.1.1
Platform:
Linux 5.15.0-139-generic (x86_64)
Test Runner:
Tripsales
Test Start Time:
2026-06-25 21:21:37
Total Duration:
5.87 seconds
Report Generated:
2026-06-25 21:21:37
📊 Test Execution Summary
📝 72
Total Tests
✅ 59
Passed
❌ 2
Failed
⏭️ 11
Skipped
🤖 AI Error Analysis
🎯
Pattern-Based Analysis
Analyzing 2 failed test(s)
Analysis: Error patterns detected in test failures. For AI-powered suggestions with OpenAI/Claude, configure API keys in your settings.
Quick Fix: Review the Error Analysis section below for detailed error classifications and suggested actions.
🔌 Enable AI Analysis: Set ai.enable_ai_analysis: true and configure ai.provider and ai.api_key in pytest_html_dashboard.yaml for enhanced AI insights.

🚨 ERROR ANALYSIS & INSIGHTS

🔴 tests/trades/test_03_trades_scenario_ltl.py::TestLtlScenario::test_12_single_execution_trip UNKNOWN

Error Type: JSONDecodeError

Message: Expecting value: line 1 column 1 (char 0)

💡 Suggested Action: Review error message and stack trace, check logs for additional context

🔴 tests/trades/test_03_trades_scenario_ltl.py::TestLtlScenario::test_14_ltl_cargo_list_matches_requests UNKNOWN

Error Type: JSONDecodeError

Message: Expecting value: line 1 column 1 (char 0)

💡 Suggested Action: Review error message and stack trace, check logs for additional context

📊 COMPREHENSIVE TEST RESULTS

S.No Test Case Start Time End Time Duration Result Error Category Result Details
1 tests/flows/test_calculator_scenarios.py::test_only_last_mile 21:21:37 21:21:37 5.725s SKIPPED N/A
2 tests/flows/test_calculator_scenarios.py::test_only_highway 21:21:37 21:21:37 0.001s SKIPPED N/A
3 tests/flows/test_calculator_scenarios.py::test_intracity 21:21:37 21:21:37 0.000s SKIPPED N/A
4 tests/flows/test_calculator_scenarios.py::test_first_mile_with_highway 21:21:37 21:21:37 0.000s SKIPPED N/A
5 tests/flows/test_calculator_scenarios.py::test_highway_with_last_mile 21:21:37 21:21:37 0.000s SKIPPED N/A
6 tests/flows/test_calculator_scenarios.py::test_intercity_door_to_door_over_300km_no_direct 21:21:37 21:21:37 0.000s SKIPPED N/A
7 tests/flows/test_calculator_scenarios.py::test_intercity_door_to_door_reverse_spb_to_moscow 21:21:37 21:21:37 0.000s SKIPPED N/A
8 tests/flows/test_calculator_scenarios.py::test_ftl_moscow_to_spb_oneway 21:21:37 21:21:37 0.000s SKIPPED N/A
9 tests/flows/test_calculator_scenarios.py::test_ftl_moscow_to_spb_roundtrip 21:21:37 21:21:37 0.000s SKIPPED N/A
10 tests/flows/test_calculator_scenarios.py::test_only_first_mile_not_planned 21:21:37 21:21:37 0.000s SKIPPED N/A
11 tests/flows/test_user_flow.py::test_check_invalid_token 21:21:37 21:21:37 0.018s PASSED N/A
12 tests/trades/test_01_trades_smoke.py::TestRouteTariff::test_get_all_returns_list 21:21:37 21:21:37 0.013s PASSED N/A
13 tests/trades/test_01_trades_smoke.py::TestRouteTariff::test_not_found 21:21:37 21:21:37 0.001s PASSED N/A
14 tests/trades/test_01_trades_smoke.py::TestRouteTariff::test_delete_idempotent 21:21:37 21:21:37 0.001s PASSED N/A
15 tests/trades/test_01_trades_smoke.py::TestCommissionPolicy::test_get_all_returns_list 21:21:37 21:21:37 0.002s PASSED N/A
16 tests/trades/test_01_trades_smoke.py::TestCommissionPolicy::test_not_found 21:21:37 21:21:37 0.001s PASSED N/A
17 tests/trades/test_01_trades_smoke.py::TestCommissionPolicy::test_delete_idempotent 21:21:37 21:21:37 0.001s PASSED N/A
18 tests/trades/test_01_trades_smoke.py::TestTransportRequest::test_get_all_returns_list 21:21:37 21:21:37 0.002s PASSED N/A
19 tests/trades/test_01_trades_smoke.py::TestTransportRequest::test_filter_by_status 21:21:37 21:21:37 0.001s PASSED N/A
20 tests/trades/test_01_trades_smoke.py::TestTransportRequest::test_not_found 21:21:37 21:21:37 0.001s PASSED N/A
21 tests/trades/test_01_trades_smoke.py::TestTransportRequest::test_delete_idempotent 21:21:37 21:21:37 0.001s PASSED N/A
22 tests/trades/test_01_trades_smoke.py::TestLtlTripTemplate::test_get_all_returns_list 21:21:37 21:21:37 0.002s PASSED N/A
23 tests/trades/test_01_trades_smoke.py::TestLtlTripTemplate::test_filter_active 21:21:37 21:21:37 0.001s PASSED N/A
24 tests/trades/test_01_trades_smoke.py::TestLtlTripTemplate::test_not_found 21:21:37 21:21:37 0.001s PASSED N/A
25 tests/trades/test_01_trades_smoke.py::TestLtlTripTemplate::test_delete_idempotent 21:21:37 21:21:37 0.001s PASSED N/A
26 tests/trades/test_01_trades_smoke.py::TestAuctionTrip::test_get_all_returns_list 21:21:37 21:21:37 0.002s PASSED N/A
27 tests/trades/test_01_trades_smoke.py::TestAuctionTrip::test_filter_by_status 21:21:37 21:21:37 0.001s PASSED N/A
28 tests/trades/test_01_trades_smoke.py::TestAuctionTrip::test_not_found 21:21:37 21:21:37 0.001s PASSED N/A
29 tests/trades/test_01_trades_smoke.py::TestAuctionTrip::test_delete_idempotent 21:21:37 21:21:37 0.001s PASSED N/A
30 tests/trades/test_01_trades_smoke.py::TestAuction::test_get_all_returns_list 21:21:37 21:21:37 0.001s PASSED N/A
31 tests/trades/test_01_trades_smoke.py::TestAuction::test_filter_by_status 21:21:37 21:21:37 0.001s PASSED N/A
32 tests/trades/test_01_trades_smoke.py::TestAuction::test_not_found 21:21:37 21:21:37 0.001s PASSED N/A
33 tests/trades/test_01_trades_smoke.py::TestAuction::test_delete_idempotent 21:21:37 21:21:37 0.001s PASSED N/A
34 tests/trades/test_01_trades_smoke.py::TestAuction::test_delete_participant_idempotent 21:21:37 21:21:37 0.002s PASSED N/A
35 tests/trades/test_01_trades_smoke.py::TestAuction::test_delete_bid_idempotent 21:21:37 21:21:37 0.002s PASSED N/A
36 tests/trades/test_01_trades_smoke.py::TestOrdersTrips::test_get_orders_returns_list 21:21:37 21:21:37 0.002s PASSED N/A
37 tests/trades/test_01_trades_smoke.py::TestOrdersTrips::test_get_trips_returns_list 21:21:37 21:21:37 0.002s PASSED N/A
38 tests/trades/test_01_trades_smoke.py::TestOrdersTrips::test_order_not_found 21:21:37 21:21:37 0.001s PASSED N/A
39 tests/trades/test_01_trades_smoke.py::TestOrdersTrips::test_trip_not_found 21:21:37 21:21:37 0.002s PASSED N/A
40 tests/trades/test_01_trades_smoke.py::TestOrdersTrips::test_delete_order_idempotent 21:21:37 21:21:37 0.001s PASSED N/A
41 tests/trades/test_01_trades_smoke.py::TestOrdersTrips::test_delete_trip_idempotent 21:21:37 21:21:37 0.001s PASSED N/A
42 tests/trades/test_01_trades_smoke.py::TestInfra::test_goap_status 21:21:37 21:21:37 0.001s PASSED N/A
43 tests/trades/test_01_trades_smoke.py::TestInfra::test_auction_scheduler_status 21:21:37 21:21:37 0.001s PASSED N/A
44 tests/trades/test_02_trades_scenario_ftl.py::TestFtlScenario::test_01_request_created 21:21:37 21:21:37 0.000s PASSED N/A
45 tests/trades/test_02_trades_scenario_ftl.py::TestFtlScenario::test_02_auction_trip_auto_created 21:21:37 21:21:37 0.001s PASSED N/A
46 tests/trades/test_02_trades_scenario_ftl.py::TestFtlScenario::test_03_start_price_includes_commission 21:21:37 21:21:37 0.000s PASSED N/A
47 tests/trades/test_02_trades_scenario_ftl.py::TestFtlScenario::test_04_auction_is_active 21:21:37 21:21:37 0.000s PASSED N/A
48 tests/trades/test_02_trades_scenario_ftl.py::TestFtlScenario::test_05_bid_above_threshold_rejected 21:21:37 21:21:37 0.003s PASSED N/A
49 tests/trades/test_02_trades_scenario_ftl.py::TestFtlScenario::test_06_carrier1_places_valid_bid 21:21:37 21:21:37 0.004s PASSED N/A
50 tests/trades/test_02_trades_scenario_ftl.py::TestFtlScenario::test_07_carrier2_outbids_carrier1 21:21:37 21:21:37 0.004s PASSED N/A
51 tests/trades/test_02_trades_scenario_ftl.py::TestFtlScenario::test_08_finish_auction 21:21:37 21:21:37 0.003s PASSED N/A
52 tests/trades/test_02_trades_scenario_ftl.py::TestFtlScenario::test_09_winner_and_loser_participants 21:21:37 21:21:37 0.001s PASSED N/A
53 tests/trades/test_02_trades_scenario_ftl.py::TestFtlScenario::test_10_execution_pipeline_creates_order 21:21:37 21:21:37 0.007s PASSED N/A
54 tests/trades/test_02_trades_scenario_ftl.py::TestFtlScenario::test_11_execution_pipeline_creates_trip 21:21:37 21:21:37 0.001s PASSED N/A
55 tests/trades/test_02_trades_scenario_ftl.py::TestFtlScenario::test_12_order_linked_to_trip 21:21:37 21:21:37 0.001s PASSED N/A
56 tests/trades/test_02_trades_scenario_ftl.py::TestFtlScenario::test_13_update_trip_status 21:21:37 21:21:37 0.001s PASSED N/A
57 tests/trades/test_03_trades_scenario_ltl.py::TestLtlScenario::test_01_ltl_trip_starts_filling 21:21:37 21:21:37 0.001s PASSED N/A
58 tests/trades/test_03_trades_scenario_ltl.py::TestLtlScenario::test_02_fill_below_threshold[1-20] 21:21:37 21:21:37 0.005s PASSED N/A
59 tests/trades/test_03_trades_scenario_ltl.py::TestLtlScenario::test_02_fill_below_threshold[2-40] 21:21:37 21:21:37 0.004s PASSED N/A
60 tests/trades/test_03_trades_scenario_ltl.py::TestLtlScenario::test_02_fill_below_threshold[3-60] 21:21:37 21:21:37 0.004s PASSED N/A
61 tests/trades/test_03_trades_scenario_ltl.py::TestLtlScenario::test_03_fourth_placement_triggers_ready 21:21:37 21:21:37 0.003s PASSED N/A
62 tests/trades/test_03_trades_scenario_ltl.py::TestLtlScenario::test_04_placement_rejected_when_not_filling 21:21:37 21:21:37 0.003s PASSED N/A
63 tests/trades/test_03_trades_scenario_ltl.py::TestLtlScenario::test_05_cannot_exceed_capacity 21:21:37 21:21:37 0.005s PASSED N/A
64 tests/trades/test_03_trades_scenario_ltl.py::TestLtlScenario::test_06_open_auction 21:21:37 21:21:37 0.001s PASSED N/A
65 tests/trades/test_03_trades_scenario_ltl.py::TestLtlScenario::test_07_carrier1_bids 21:21:37 21:21:37 0.003s PASSED N/A
66 tests/trades/test_03_trades_scenario_ltl.py::TestLtlScenario::test_08_carrier2_wins 21:21:37 21:21:37 0.003s PASSED N/A
67 tests/trades/test_03_trades_scenario_ltl.py::TestLtlScenario::test_09_finish_auction 21:21:37 21:21:37 0.003s PASSED N/A
68 tests/trades/test_03_trades_scenario_ltl.py::TestLtlScenario::test_10_participants_statuses 21:21:37 21:21:37 0.001s PASSED N/A
69 tests/trades/test_03_trades_scenario_ltl.py::TestLtlScenario::test_11_execution_creates_orders 21:21:37 21:21:37 0.007s PASSED N/A
70 tests/trades/test_03_trades_scenario_ltl.py::TestLtlScenario::test_12_single_execution_trip 21:21:37 21:21:37 0.001s FAILED UNKNOWN
🚫 Error Details
Type:JSONDecodeError
Category:UNKNOWN
Message:Expecting value: line 1 column 1 (char 0)
Suggested Action:Review error message and stack trace, check logs for additional context
Stack Trace:
NoneType: None
71 tests/trades/test_03_trades_scenario_ltl.py::TestLtlScenario::test_13_orders_linked_to_trip 21:21:37 21:21:37 0.000s SKIPPED N/A
72 tests/trades/test_03_trades_scenario_ltl.py::TestLtlScenario::test_14_ltl_cargo_list_matches_requests 21:21:37 21:21:37 0.001s FAILED UNKNOWN
🚫 Error Details
Type:JSONDecodeError
Category:UNKNOWN
Message:Expecting value: line 1 column 1 (char 0)
Suggested Action:Review error message and stack trace, check logs for additional context
Stack Trace:
NoneType: None
📊

Detailed Step Execution Results

📋 Overview: This section provides comprehensive details for each individual test step across all test cases. Use the interactive features to explore step execution patterns and identify potential issues.

[TIP] Click headers to sort   🔍 Hover for tooltips   📊 Interactive charts

Step Status Overview

🎯 Test Case 📝 Step Name ⚡ Status 📷 Screenshot ⚠️ Error Details
TC-1000 1. test_only_last_mile SKIP N/A N/A
TC-1000 2. test_only_highway SKIP N/A N/A
TC-1000 3. test_intracity SKIP N/A N/A
TC-1000 4. test_first_mile_with_highway SKIP N/A N/A
TC-1000 5. test_highway_with_last_mile SKIP N/A N/A
TC-1000 6. test_intercity_door_to_door_over_300km_no_direct SKIP N/A N/A
TC-1000 7. test_intercity_door_to_door_reverse_spb_to_moscow SKIP N/A N/A
TC-1000 8. test_ftl_moscow_to_spb_oneway SKIP N/A N/A
TC-1000 9. test_ftl_moscow_to_spb_roundtrip SKIP N/A N/A
TC-1000 10. test_only_first_mile_not_planned SKIP N/A N/A
TC-1000 11. test_check_invalid_token PASS N/A N/A
TestRouteTariff 12. test_get_all_returns_list PASS N/A N/A
TestRouteTariff 13. test_not_found PASS N/A N/A
TestRouteTariff 14. test_delete_idempotent PASS N/A N/A
TestCommissionPolicy 15. test_get_all_returns_list PASS N/A N/A
TestCommissionPolicy 16. test_not_found PASS N/A N/A
TestCommissionPolicy 17. test_delete_idempotent PASS N/A N/A
TestTransportRequest 18. test_get_all_returns_list PASS N/A N/A
TestTransportRequest 19. test_filter_by_status PASS N/A N/A
TestTransportRequest 20. test_not_found PASS N/A N/A
TestTransportRequest 21. test_delete_idempotent PASS N/A N/A
TestLtlTripTemplate 22. test_get_all_returns_list PASS N/A N/A
TestLtlTripTemplate 23. test_filter_active PASS N/A N/A
TestLtlTripTemplate 24. test_not_found PASS N/A N/A
TestLtlTripTemplate 25. test_delete_idempotent PASS N/A N/A
TestAuctionTrip 26. test_get_all_returns_list PASS N/A N/A
TestAuctionTrip 27. test_filter_by_status PASS N/A N/A
TestAuctionTrip 28. test_not_found PASS N/A N/A
TestAuctionTrip 29. test_delete_idempotent PASS N/A N/A
TestAuction 30. test_get_all_returns_list PASS N/A N/A
TestAuction 31. test_filter_by_status PASS N/A N/A
TestAuction 32. test_not_found PASS N/A N/A
TestAuction 33. test_delete_idempotent PASS N/A N/A
TestAuction 34. test_delete_participant_idempotent PASS N/A N/A
TestAuction 35. test_delete_bid_idempotent PASS N/A N/A
TestOrdersTrips 36. test_get_orders_returns_list PASS N/A N/A
TestOrdersTrips 37. test_get_trips_returns_list PASS N/A N/A
TestOrdersTrips 38. test_order_not_found PASS N/A N/A
TestOrdersTrips 39. test_trip_not_found PASS N/A N/A
TestOrdersTrips 40. test_delete_order_idempotent PASS N/A N/A
TestOrdersTrips 41. test_delete_trip_idempotent PASS N/A N/A
TestInfra 42. test_goap_status PASS N/A N/A
TestInfra 43. test_auction_scheduler_status PASS N/A N/A
TestFtlScenario 44. test_01_request_created PASS N/A N/A
TestFtlScenario 45. test_02_auction_trip_auto_created PASS N/A N/A
TestFtlScenario 46. test_03_start_price_includes_commission PASS N/A N/A
TestFtlScenario 47. test_04_auction_is_active PASS N/A N/A
TestFtlScenario 48. test_05_bid_above_threshold_rejected PASS N/A N/A
TestFtlScenario 49. test_06_carrier1_places_valid_bid PASS N/A N/A
TestFtlScenario 50. test_07_carrier2_outbids_carrier1 PASS N/A N/A
TestFtlScenario 51. test_08_finish_auction PASS N/A N/A
TestFtlScenario 52. test_09_winner_and_loser_participants PASS N/A N/A
TestFtlScenario 53. test_10_execution_pipeline_creates_order PASS N/A N/A
TestFtlScenario 54. test_11_execution_pipeline_creates_trip PASS N/A N/A
TestFtlScenario 55. test_12_order_linked_to_trip PASS N/A N/A
TestFtlScenario 56. test_13_update_trip_status PASS N/A N/A
TestLtlScenario 57. test_01_ltl_trip_starts_filling PASS N/A N/A
TestLtlScenario 58. test_02_fill_below_threshold[1-20] PASS N/A N/A
TestLtlScenario 59. test_02_fill_below_threshold[2-40] PASS N/A N/A
TestLtlScenario 60. test_02_fill_below_threshold[3-60] PASS N/A N/A
TestLtlScenario 61. test_03_fourth_placement_triggers_ready PASS N/A N/A
TestLtlScenario 62. test_04_placement_rejected_when_not_filling PASS N/A N/A
TestLtlScenario 63. test_05_cannot_exceed_capacity PASS N/A N/A
TestLtlScenario 64. test_06_open_auction PASS N/A N/A
TestLtlScenario 65. test_07_carrier1_bids PASS N/A N/A
TestLtlScenario 66. test_08_carrier2_wins PASS N/A N/A
TestLtlScenario 67. test_09_finish_auction PASS N/A N/A
TestLtlScenario 68. test_10_participants_statuses PASS N/A N/A
TestLtlScenario 69. test_11_execution_creates_orders PASS N/A N/A
TestLtlScenario 70. test_12_single_execution_trip FAIL N/A JSONDecodeError: Expecting value: line 1 column 1 (char 0)...
TestLtlScenario 71. test_13_orders_linked_to_trip SKIP N/A N/A
TestLtlScenario 72. test_14_ltl_cargo_list_matches_requests FAIL N/A JSONDecodeError: Expecting value: line 1 column 1 (char 0)...
📊 Historical Trends
📈 Pass Rate Trend
0.0%
vs. last 7 days
🔄 Flaky Tests Detected
61
passed sometimes, failed others
⚡ Avg Execution Time
0.08s
average per test
📅 Total Runs Tracked
1
test execution runs