Skip to content

Commit 41b9eb6

Browse files
committed
test: use deploy preview for test url
1 parent bf1b5d9 commit 41b9eb6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/utils/create-e2e-fixture.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,11 @@ async function deploySite(
289289
throw new Error('Could not extract DeployID from the build logs')
290290
}
291291

292-
return { url, deployID, logs: output }
292+
return {
293+
url: `https://${deployID}--next-runtime-testing.netlify.app/`,
294+
deployID,
295+
logs: output,
296+
}
293297
}
294298

295299
export async function deleteDeploy(deployID?: string): Promise<void> {

0 commit comments

Comments
 (0)