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
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,7 @@ Unlike the user setting overrides, not all of these environment variables have t
- `AWS_TOOLKIT_TEST_NO_COLOR`: If the tests should include colour in their output
- `DEVELOPMENT_PATH`: The path to the aws toolkit vscode project
- `TEST_DIR` - The directory where the test runner should find the tests
- `AMAZONQ_FEATUREDEV_ITERATION_TEST` - Controls whether to enable multiple iteration testing for Amazon Q feature development

### SAM/CFN ("goformation") JSON schema

Expand Down
6 changes: 6 additions & 0 deletions packages/amazonq/test/e2e/amazonq/featureDev.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,12 @@ describe('Amazon Q Feature Dev', function () {

describe('/dev {msg} entry', async () => {
beforeEach(async function () {
const isMultiIterationTestsEnabled = process.env['AMAZONQ_FEATUREDEV_ITERATION_TEST'] // Controls whether to enable multiple iteration testing for Amazon Q feature development
if (!isMultiIterationTestsEnabled) {
this.skip()
} else {
this.timeout(900000) // Code Gen with multi-iterations requires longer than default timeout(5 mins).
}
tab = framework.createTab()
tab.addChatMessage({ command: '/dev', prompt })
tab = framework.getSelectedTab()
Expand Down
Loading