mirror of
https://github.com/Second-Hand-Friends/kleinanzeigen-bot.git
synced 2026-03-12 02:31:45 +01:00
Login Flow Tests: - Fixed test_login_flow_handles_captcha to properly handle both login attempts - Added individual test functions for each component of the login flow: * test_check_and_wait_for_captcha: Tests captcha detection and user interaction * test_fill_login_data_and_send: Tests login form filling and submission * test_handle_after_login_logic: Tests post-login handling (device verification, GDPR) - Improved test assertions to match actual behavior of the login process - Added proper async mocking to prevent test stalling Test Init: - Fixed test_extract_pricing_info to properly handle all price formats - Improved test coverage for price extraction edge cases - Ensured tests accurately reflect the actual behavior of the price extraction logic
57 KiB
57 KiB