Skip to content

Commit 2bbb9ef

Browse files
VIA-599 SB Test tweaks.
1 parent ccd406b commit 2bbb9ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

e2e/general/nbs.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ const testLinkToBookAppointmentForPregnantPeople = () => {
4444
await newPage.waitForLoadState("domcontentloaded");
4545
await newPage.bringToFront();
4646

47-
await expect(newPage).toHaveTitle(BOOKING_PAGE_TITLE_REGEX);
4847
expect(newPage.url()).toMatch(BOOKING_PAGE_URL_REGEX);
48+
await expect(newPage).toHaveTitle(BOOKING_PAGE_TITLE_REGEX);
4949
});
5050
};
5151

src/app/api/sso-to-nbs/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ async function getGivenRedirectTarget(rawRedirectTarget: string | null) {
5454
} catch (error) {
5555
log.error(
5656
{ context: { REDIRECT_TARGET_PARAM, rawRedirectTarget }, error },
57-
"Error getting redirect url to NBS",
57+
"Error building redirect url for NBS",
5858
);
5959
finalRedirectUrl = SSO_FAILURE_ROUTE;
6060
}

0 commit comments

Comments
 (0)