Commit Graph

15 Commits

Author SHA1 Message Date
gnezim ac499a3fb5 feat: add data-testid attributes to RouteFilter inputs for test interactions
- Add data-testid to city autocomplete dropdown inputs via pt.input property
- Add data-testid to departure/arrival date calendar inputs via pt.input property
- Add data-testid to swap cities button for test detection
- Both wrapper and input elements now have testids for test selectors
- Ensures Cypress tests can find and interact with form elements
2026-04-05 18:07:19 +03:00
gnezim d6c6634563 fix: configure Angular 12 compatibility with Node 16
- Remove NODE_OPTIONS openssl-legacy-provider flags (Node 16 incompatible)
- Add skipLibCheck to tsconfig for Leaflet type compatibility
- Upgrade @types/leaflet to 1.7.11 for Node 16 compatibility
- Project now builds and runs successfully with Node 16.20.2
2026-04-04 20:05:20 +03:00
gnezim 77c93fa061 feat: add critical missing data-testids for e2e test compatibility
Add data-testids across priority categories:
- Error handling: error-code, error-message, error-description
- Empty states: empty-results, empty-state-message, empty-results-message
- Validation errors: validation-error (city, calendar, flight number inputs)
- Schedule filters: time-range-slider, return-time-range-slider, direct/return checkboxes
- Sort controls: departure/time/arrival ascending/descending buttons
- Loader controls: loader-cancel-button

Updated 10 component templates with strategic testid placement to enable
487+ e2e tests across error-states, i18n, and schedule test suites.
2026-04-04 19:07:11 +03:00
gnezim 2842bbd522 feat: add data-testid attributes to Angular templates for e2e test compatibility 2026-04-04 18:15:09 +03:00
gnezim 2caa5c81fe feat: add flights map e2e tests (74 tests for map rendering, list, interactions, clustering, geolocation, responsive design, api, and state) 2026-04-04 12:20:03 +03:00
gnezim 0ca49b9bf3 feat: add popular requests widget e2e tests (30 tests for load, display, navigation, fallback) 2026-04-04 12:19:42 +03:00
gnezim 393ccfea39 feat: add responsive design e2e tests (60 tests for mobile, tablet, desktop) 2026-04-04 12:19:02 +03:00
gnezim 907ea7503b feat: add online board e2e tests (130 tests covering arrival, departure, filters, modals) 2026-04-04 12:18:50 +03:00
gnezim 91b4cd7db7 feat: add error states and recovery e2e tests (30 tests for network, validation, empty states, retry) 2026-04-04 12:17:25 +03:00
gnezim 0e973d1317 feat: add cypress e2e test infrastructure and support files 2026-04-04 12:14:20 +03:00
gnezim a9b2f4ac5c docs: add e2e test implementation plan with detailed task breakdown 2026-04-04 12:05:32 +03:00
gnezim 5ef60539ce docs: add comprehensive e2e test suite design specification 2026-04-04 12:02:18 +03:00
gnezim dfb9fed99a docs: add Phase 2 Online Board implementation plan 2026-04-03 23:57:03 +03:00
gnezim 729603d27c fix: resolve build issues with ModernJS v3 + Module Federation
- Switch from @module-federation/modern-js to @module-federation/modern-js-v3 (v3 compatible)
- Rename App.tsx to AppProviders.tsx to avoid hasApp detection that blocks nested route discovery
- Move runtime.router config from modern.config.ts to modern.runtime.ts (v3 API)
- Fix PostCSS config type annotation
- Enable streaming SSR mode successfully
2026-04-03 23:34:20 +03:00
gnezim 2342f2e66e Initial commit: Aeroflot Flights Web Angular 12 application 2026-04-03 10:10:52 +03:00