Skip to content
This repository was archived by the owner on Aug 1, 2025. It is now read-only.

Commit c066d16

Browse files
authored
Merge branch 'main' into mk/chore/fix-e2e-tests
2 parents 2266647 + 498e634 commit c066d16

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

vscode/test/e2e/auth.test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ test.extend<ExpectedV2Events>({
1515
'cody.signInNotification:shown',
1616
],
1717
})('requires a valid auth token and allows logouts', async ({ page, sidebar }) => {
18-
await expect(sidebar!.getByText('Sign in to Sourcegraph')).toBeVisible()
19-
2018
await sidebar!.getByText('Sourcegraph Instance URL').click()
2119
await sidebar!.getByPlaceholder('Example: https://instance.').click()
2220
await sidebar!.getByPlaceholder('Example: https://instance.').fill(SERVER_URL)
@@ -82,7 +80,6 @@ test.extend<ExpectedV2Events>({
8280
],
8381
})
8482
.skip('switch account via account dropwdown menu in webview', async ({ page, sidebar }) => {
85-
await expect(sidebar!.getByText('Sign in to Sourcegraph')).toBeVisible()
8683
await sidebar!.getByText('Sourcegraph Instance URL').click()
8784
await sidebar!.getByPlaceholder('Example: https://instance.').click()
8885
await sidebar!.getByPlaceholder('Example: https://instance.').fill(SERVER_URL)

vscode/test/e2e/chat-atFile.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ test.extend<ExpectedV2Events>({
3838
'cody.chatResponse:noCode',
3939
],
4040
})('@-mention file in chat', async ({ page, sidebar, workspaceDirectory, server }) => {
41+
4142
mockEnterpriseRepoIdMapping(server)
4243

4344
// This test requires that the window be focused in the OS window manager because it deals with

vscode/test/e2e/chat-rateLimit.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import * as mockServer from '../fixtures/mock-server'
55
import { chatMessageRows, getChatInputs, getChatSidebarPanel, sidebarSignin } from './common'
66
import { type ExpectedV2Events, test } from './helpers'
77

8+
89
test.extend<ExpectedV2Events>({
910
expectedV2Events: [
1011
'cody.extension:installed',

0 commit comments

Comments
 (0)