Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

front: change time tolerance from 1s to 2s #10141

Merged
merged 1 commit into from
Jan 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion front/src/modules/timesStops/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ export const MarginUnit = {
second: 's',
} as const;

export const ARRIVAL_TIME_ACCEPTABLE_ERROR_MS = 1000;
export const ARRIVAL_TIME_ACCEPTABLE_ERROR_MS = 2000;
6 changes: 3 additions & 3 deletions front/tests/008-train-schedule.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ test.describe('Verify train schedule elements and filters', () => {
const TOTAL_TRAINS = 21;
const VALID_TRAINS = 17;
const INVALID_TRAINS = 4;
const HONORED_TRAINS = 13;
const NOT_HONORED_TRAINS = 4;
const VALID_AND_HONORED_TRAINS = 13;
const HONORED_TRAINS = 14;
const NOT_HONORED_TRAINS = 3;
const VALID_AND_HONORED_TRAINS = 14;
const INVALID_AND_NOT_HONORED_TRAINS = 0;
test.beforeAll('Fetch project, study and scenario with train schedule', async () => {
project = await getProject(trainScheduleProjectName);
Expand Down
Loading