chore: apply fixes from #63942, #63910 and #63879

This commit is contained in:
Michael Bahr 2024-07-22 09:45:05 +02:00
parent 6c30f7d991
commit b3cb1df415
4 changed files with 7 additions and 3 deletions

View File

@ -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,

View File

@ -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}`,
},

View File

@ -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">

View File

@ -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({