diff --git a/e2e-tests/container-strands-bedrock.test.ts b/e2e-tests/container-strands-bedrock.test.ts new file mode 100644 index 00000000..78e32eef --- /dev/null +++ b/e2e-tests/container-strands-bedrock.test.ts @@ -0,0 +1,3 @@ +import { createE2ESuite } from './e2e-helper.js'; + +createE2ESuite({ framework: 'Strands', modelProvider: 'Bedrock', build: 'Container' }); diff --git a/e2e-tests/e2e-helper.ts b/e2e-tests/e2e-helper.ts index 764f9d0f..1df67c62 100644 --- a/e2e-tests/e2e-helper.ts +++ b/e2e-tests/e2e-helper.ts @@ -13,6 +13,7 @@ interface E2EConfig { framework: string; modelProvider: string; requiredEnvVar?: string; + build?: string; } /** @@ -64,6 +65,10 @@ export function createE2ESuite(cfg: E2EConfig) { '--json', ]; + if (cfg.build) { + createArgs.push('--build', cfg.build); + } + // Pass API key so the credential is registered in the project and .env.local const apiKey = cfg.requiredEnvVar ? process.env[cfg.requiredEnvVar] : undefined; if (apiKey) {