Skip to content

Commit 166ede1

Browse files
committed
enable external file but no fix so should fail
1 parent cd2e5b6 commit 166ede1

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

packages/amazonq/test/e2e/amazonq/testGen.test.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ describe('Amazon Q Test Generation', function () {
5757

5858
const activeEditor = vscode.window.activeTextEditor
5959
if (!activeEditor || activeEditor.document.uri.fsPath !== document.uri.fsPath) {
60-
assert.fail(`Failed to make temp file active`)
60+
assert.fail(`Failed to make ${language} file active`)
6161
}
6262
}
6363

@@ -134,7 +134,7 @@ describe('Amazon Q Test Generation', function () {
134134
})
135135
})
136136

137-
describe.skip('External file', async () => {
137+
describe('External file', async () => {
138138
let testFolder: TestFolder
139139
let fileName: string
140140

@@ -163,8 +163,6 @@ describe('Amazon Q Test Generation', function () {
163163
})
164164

165165
for (const { language, filePath } of testFiles) {
166-
// skipping for now since this test is flaky. passes locally, but only half the time in CI
167-
// have tried retries for setupTestDocument, openTextDocument, and showTextDocument
168166
describe(`${language} file`, () => {
169167
beforeEach(async () => {
170168
await waitUntil(async () => await setupTestDocument(filePath, language), {})
@@ -175,7 +173,7 @@ describe('Amazon Q Test Generation', function () {
175173
await tab.waitForButtons([FollowUpTypes.ViewDiff])
176174
tab.clickButton(FollowUpTypes.ViewDiff)
177175
await tab.waitForChatFinishesLoading()
178-
console.log('beforeEach')
176+
console.log('beforeEach valid language')
179177
})
180178

181179
describe('View diff', async () => {

0 commit comments

Comments
 (0)