mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-27 15:17:30 +00:00
test: follow the qol sweep in the e2e schemas and the assertions it changed
The hand-written e2e schemas gain the new columns and place_regions, and the unit assertions take the new arguments and fields. The Public API page names GET /api/auth/app-config for the running version.
This commit is contained in:
@@ -1917,8 +1917,9 @@ describe('DayDetailPanel time format', () => {
|
||||
);
|
||||
render(<DayDetailPanel {...defaultProps} />);
|
||||
|
||||
// The arrival day shows only the check-in; the check-out belongs to the last day (#2393).
|
||||
expect(await screen.findByText('15:00')).toBeInTheDocument();
|
||||
expect(screen.getByText('11:00')).toBeInTheDocument();
|
||||
expect(screen.queryByText('11:00')).not.toBeInTheDocument();
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
@@ -99,7 +99,8 @@ describe('LocationSelect', () => {
|
||||
await screen.findByText('Gare du Nord');
|
||||
|
||||
expect(body.query).toBe('Gare du Nord');
|
||||
expect(lang).toBe('en-US');
|
||||
// The place name language, which follows the app's language when none is picked (#1799).
|
||||
expect(lang).toBe('en');
|
||||
});
|
||||
|
||||
it('FE-PLANNER-LOCSEL-008: a hit whose address equals its name shows no duplicate subtitle', async () => {
|
||||
|
||||
Reference in New Issue
Block a user