Skip to content

Commit 951bf56

Browse files
committed
test: extend UI test timeout for Amazon Q feature dev multi-iteration tests
1 parent f1f5a36 commit 951bf56

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/amazonq/test/e2e/amazonq/featureDev.test.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,12 @@ describe('Amazon Q Feature Dev', function () {
166166

167167
describe('/dev {msg} entry', async () => {
168168
beforeEach(async function () {
169+
const isMultiIterationTestsEnabled = process.env['AMAZONQ_FEATUREDEV_ITERATION_TEST']
170+
if (!isMultiIterationTestsEnabled) {
171+
this.skip()
172+
} else {
173+
this.timeout(900000) // Code Gen with multi-iterations requires longer than default timeout(5 mins).
174+
}
169175
tab = framework.createTab()
170176
tab.addChatMessage({ command: '/dev', prompt })
171177
tab = framework.getSelectedTab()

0 commit comments

Comments
 (0)