diff --git a/.gitignore b/.gitignore index 21edddcd0..cadb36cea 100644 --- a/.gitignore +++ b/.gitignore @@ -37,3 +37,13 @@ e2e/**/cypress/downloads/ # e2e launcher state (ports of the running stack) e2e/freight/.e2e-ports.json + +# local run scripts (contain personal DB credentials — never commit) +run-passenger-local.sh +run-passenger-web.sh + +# generated test output +e2e-ui-report/ +test-results/ +playwright-report/ +blob-report/ diff --git a/apps/edr-passenger-web/portal/src/app/booking/seats/page.tsx b/apps/edr-passenger-web/portal/src/app/booking/seats/page.tsx index 0af9d90bc..fa1a86524 100644 --- a/apps/edr-passenger-web/portal/src/app/booking/seats/page.tsx +++ b/apps/edr-passenger-web/portal/src/app/booking/seats/page.tsx @@ -472,7 +472,13 @@ export default function SeatsPage() { // For package bookings both legs always use the same coach type — mirror the // switch to the inbound schedule so the auto-assign fetches the right seatmap. if (isPackageBooking && inboundSchedule) { - setInboundSchedule({ ...(inboundSchedule as any), ...updatedSchedule, id: inboundSchedule.id }); + setInboundSchedule({ + ...(inboundSchedule as any), + ...updatedSchedule, + id: inboundSchedule.id, + originStationId: (inboundSchedule as any).originStationId, + destinationStationId: (inboundSchedule as any).destinationStationId, + }); } } else { setSelectedSchedule(updatedSchedule); diff --git a/test-results/.last-run.json b/test-results/.last-run.json deleted file mode 100644 index cbcc1fbac..000000000 --- a/test-results/.last-run.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "status": "passed", - "failedTests": [] -} \ No newline at end of file