7 Commits

Author SHA1 Message Date
gnezim de48e59048 Add visual parity smoke tests for CI regression detection 2026-04-16 17:47:58 +03:00
gnezim 712d32ac72 Add popular requests behavioral cross-app tests
Adds POPULAR_REQUESTS_PANEL and POPULAR_REQUEST_ITEM selectors with
Angular overrides, and 6 behavioral tests covering panel visibility,
item count, flight/route click navigation, schedule page presence,
and keyboard accessibility.
2026-04-16 17:44:04 +03:00
gnezim 4b87fca973 Remove locale switcher tests — feature not in Angular app
Locale switching is handled by the host site (aeroflot.ru), not the
Angular SPA. Removed 13-locale-switching.spec.ts (entire file, 27 tests)
and locale switcher tests from 01-navigation (5 tests) and
18-advanced-features (4 tests).

Cross-app: 213 passed, 146 skipped, 0 failed.
ru-ru: 15 passed, 0 failed.
2026-04-16 00:44:41 +03:00
gnezim c6b865b324 Remove React-specific test files from Angular e2e suite
Removed 40 files that were written for the flights-front React project:
- 15 root spec files with hardcoded React ports (3000/3001/3002/5173)
- 8 ru-ru/ tests with React URLs or React Query-specific features
- 8 integration/ tests with React templates
- 3 visual/ regression tests with React screenshots
- 6 integration templates

Kept: 18 cross-app tests (properly use localePath/urlPattern fixtures),
7 clean ru-ru tests, support files, and fixtures.

Result: 230 passed, 173 skipped, 0 failed.
2026-04-16 00:01:03 +03:00
gnezim 375bcfb0fa Add e2e test suite from flights-front with Angular API mocks
Copies Playwright e2e tests (58 specs, 300+ tests) designed for cross-app
testing. Adapts API mocks to match real Aeroflot dictionary format (title
objects with multilingual keys), adds board/schedule/days endpoint mocks,
and provides Angular-specific Playwright config on port 4203.
2026-04-15 23:07:44 +03:00
gnezim de660938ba Remove stray e2e-angular tests and add to gitignore
CI / ci (push) Failing after 37s
Deploy / build-and-deploy (push) Failing after 6s
2026-04-15 23:05:01 +03:00
gnezim 20c19d15f4 Add standalone API proxy via curl (bypasses WAF TLS fingerprinting)
CI / ci (push) Failing after 23s
Deploy / build-and-deploy (push) Failing after 5s
Modern.js SSR intercepts all routes before any Express middleware,
so the API proxy runs as a separate Express server on port 8080.
Modern.js runs on 8081. The proxy uses curl subprocesses which go
through the system HTTPS proxy (GOST) with a proper TLS fingerprint
that the Aeroflot WAF accepts.

Usage: node scripts/dev-server.mjs (replaces pnpm dev for full-stack)

Also: remove stray e2e-angular test directory, fix env default to
same-origin /api.
2026-04-15 23:04:24 +03:00