Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unreliable test: Amazon Q Test Generation /test entry java file "before each" hook for "Clicks on reject" #6500

Open
Hweinstock opened this issue Feb 4, 2025 · 0 comments

Comments

@Hweinstock
Copy link
Contributor

Test Details

  • Name of test: Amazon Q Test Generation /test entry java file "before each" hook for "Clicks on reject"
  • OS of failure: Linux (E2E)
  • VSCode version of failure (minimum/insider/stable): minimum + stable
  • Link to failing run: 50c9121
  • Link to failing test:
    it('Clicks on reject', async () => {
    await tab.waitForButtons([FollowUpTypes.AcceptCode, FollowUpTypes.RejectCode])
    tab.clickButton(FollowUpTypes.RejectCode)
    await tab.waitForChatFinishesLoading()
    await waitForChatItems(7)
    const rejectedMessage = tab.getChatItems()[7]
    assert.deepStrictEqual(rejectedMessage?.type, 'answer-part')
    assert.deepStrictEqual(rejectedMessage?.followUp?.options?.[0].pillText, 'Rejected')
    })

Log of Test Failure

AssertionError [ERR_ASSERTION]: Failed to make temp file active
    at setupTestDocument (test/e2e/amazonq/testGen.test.ts:58:20)
    at async Context.<anonymous> (test/e2e/amazonq/testGen.test.ts:166:21)

Additional Information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant