Fixing isssues usins AI

This commit is contained in:
Muluhabt
2026-07-22 16:42:07 +03:00
parent 87ebec8b51
commit 9782dd0fe3
3 changed files with 17 additions and 5 deletions

10
.gitignore vendored
View File

@@ -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/

View File

@@ -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);

View File

@@ -1,4 +0,0 @@
{
"status": "passed",
"failedTests": []
}