Skip to content

Commit

Permalink
Merge pull request #6757 from jpinkney-aws/stabilize-test
Browse files Browse the repository at this point in the history
test(amazonq): add retries to flaky e2e tests
  • Loading branch information
jpinkney-aws authored Mar 10, 2025
1 parent 1d79df7 commit 514e78d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/amazonq/test/e2e/amazonq/chat.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { loginToIdC } from './utils/setup'
import { webviewConstants, webviewTabConstants } from 'aws-core-vscode/amazonq'

describe('Amazon Q Chat', function () {
this.retries(3)
let framework: qTestingFramework
let tab: Messenger
let store: MynahUIDataModel
Expand Down
4 changes: 3 additions & 1 deletion packages/amazonq/test/e2e/inline/inline.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ import { Commands, globals, sleep, waitUntil, collectionUtil } from 'aws-core-vs
import { loginToIdC } from '../amazonq/utils/setup'

describe('Amazon Q Inline', async function () {
let tempFolder: string
const retries = 3
this.retries(retries)

let tempFolder: string
const waitOptions = {
interval: 500,
timeout: 10000,
Expand Down

0 comments on commit 514e78d

Please sign in to comment.