mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 14:31:56 +00:00
parent
6c30f7d991
commit
b3cb1df415
@ -245,6 +245,7 @@ TEST_BUILD_DEPS = [
|
||||
|
||||
vitest_test(
|
||||
name = "unit_tests",
|
||||
timeout = "moderate",
|
||||
bin = vitest_bin,
|
||||
chdir = package_name(),
|
||||
data = SRCS + BUILD_DEPS + CONFIGS + TESTS + TEST_BUILD_DEPS,
|
||||
|
||||
@ -15,7 +15,10 @@ const config: PlaywrightTestConfig = {
|
||||
: undefined,
|
||||
reporter: 'list',
|
||||
// note: if you proxy into a locally running vite preview, you may have to raise this to 60 seconds
|
||||
timeout: 5_000,
|
||||
timeout: process.env.BAZEL ? 60_000 : 30_000,
|
||||
expect: {
|
||||
timeout: process.env.BAZEL ? 20_000 : 5_000,
|
||||
},
|
||||
use: {
|
||||
baseURL: `http://localhost:${PORT}`,
|
||||
},
|
||||
|
||||
@ -75,7 +75,7 @@
|
||||
>
|
||||
<div class="sidebar-navigation-header">
|
||||
<button class="close-button" on:click={() => (sidebarNavigationOpen = false)}>
|
||||
<Icon icon={ILucideX} aria-label="Close sidebar navigation" />
|
||||
<Icon icon={ILucideX} />
|
||||
</button>
|
||||
|
||||
<a href="/search" class="logo-link">
|
||||
|
||||
@ -166,7 +166,7 @@ test.describe('file sidebar', () => {
|
||||
await expect(page.getByText(/Child error/)).toBeVisible()
|
||||
})
|
||||
|
||||
test('error handling non-existing directory -> root', async ({ page, sg }) => {
|
||||
test.skip('error handling non-existing directory -> root', async ({ page, sg }) => {
|
||||
// Here we expect the sidebar to show an error message, and after navigigating
|
||||
// to an existing directory, the directory contents
|
||||
sg.mockOperations({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user