Skip to content

Commit 1742273

Browse files
author
David Hasani
committed
test update
1 parent 257f821 commit 1742273

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/amazonq/test/e2e/amazonq/transformByQ.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ describe('Amazon Q Code Transformation', function () {
137137
tab.clickCustomFormButton({ id: 'gumbyTransformFormContinue' })
138138

139139
// 2 additional chat messages get sent after Continue button clicked; wait for both of them
140-
await tab.waitForEvent(() => tab.getChatItems().length > 13, {
140+
await tab.waitForEvent(() => tab.getChatItems().length > 10, {
141141
waitTimeoutInMs: 5000,
142142
waitIntervalInMs: 1000,
143143
})
@@ -148,7 +148,7 @@ describe('Amazon Q Code Transformation', function () {
148148
tab.addChatMessage({ prompt: '/dummy/path/to/jdk8' })
149149

150150
// 2 additional chat messages get sent after JDK path submitted; wait for both of them
151-
await tab.waitForEvent(() => tab.getChatItems().length > 15, {
151+
await tab.waitForEvent(() => tab.getChatItems().length > 12, {
152152
waitTimeoutInMs: 5000,
153153
waitIntervalInMs: 1000,
154154
})
@@ -170,7 +170,7 @@ describe('Amazon Q Code Transformation', function () {
170170
text: 'View summary',
171171
})
172172

173-
await tab.waitForEvent(() => tab.getChatItems().length > 18, {
173+
await tab.waitForEvent(() => tab.getChatItems().length > 13, {
174174
waitTimeoutInMs: 5000,
175175
waitIntervalInMs: 1000,
176176
})

0 commit comments

Comments
 (0)