Skip to content

Commit 275ff4e

Browse files
authored
Update error messages in e2e tests (#12662)
1 parent 494ee7b commit 275ff4e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/vite-plugin-cloudflare/e2e/remote-bindings.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ if (isWindows) {
183183

184184
expect(await proc.exitCode).not.toBe(0);
185185
expect(proc.stderr).toContain(
186-
"R2 bucket 'non-existent-r2-bucket' not found. Please use a different name and try again. [code: 10085]"
186+
"R2 bucket 'non-existent-r2-bucket' not found. Verify the bucket exists in your account and that the bucket_name in your configuration is correct. [code: 10085]"
187187
);
188188
expect(proc.stderr).toContain(
189189
"Error: Failed to start the remote proxy session. There is likely additional logging output above."

packages/wrangler/e2e/remote-binding/dev-remote-bindings.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ describe.skipIf(!CLOUDFLARE_ACCOUNT_ID)(
209209
await vi.waitFor(
210210
() =>
211211
expect(worker.currentOutput).toContain(
212-
"Could not resolve service binding 'REMOTE_WORKER'. Target script 'non-existent-service-binding' not found."
212+
"Service binding 'REMOTE_WORKER' references Worker 'non-existent-service-binding' which was not found."
213213
),
214214
7_000
215215
);

0 commit comments

Comments
 (0)