Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions e2e-tests/container-strands-bedrock.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { createE2ESuite } from './e2e-helper.js';

createE2ESuite({ framework: 'Strands', modelProvider: 'Bedrock', build: 'Container' });
5 changes: 5 additions & 0 deletions e2e-tests/e2e-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ interface E2EConfig {
framework: string;
modelProvider: string;
requiredEnvVar?: string;
build?: string;
}

/**
Expand Down Expand Up @@ -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) {
Expand Down
Loading