We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5a63b2 commit d68b047Copy full SHA for d68b047
packages/amazonq/test/e2e/amazonq/testGen.test.ts
@@ -81,6 +81,8 @@ describe('Amazon Q Test Generation', function () {
81
})
82
83
afterEach(async () => {
84
+ // Close all editors to prevent conflicts with subsequent tests trying to open the same file
85
+ await closeAllEditors()
86
framework.removeTab(tab.tabID)
87
framework.dispose()
88
sinon.restore()
@@ -175,10 +177,6 @@ describe('Amazon Q Test Generation', function () {
175
177
await tab.waitForChatFinishesLoading()
176
178
179
- afterEach(async function () {
- await closeAllEditors(), {}
180
- })
181
-
182
describe('View diff', async () => {
183
it('Clicks on view diff', async () => {
184
const chatItems = tab.getChatItems()
0 commit comments