diff --git a/gitnexus-web/e2e/directory-picker.spec.ts b/gitnexus-web/e2e/directory-picker.spec.ts index b65d4f02a..c49f43be1 100644 --- a/gitnexus-web/e2e/directory-picker.spec.ts +++ b/gitnexus-web/e2e/directory-picker.spec.ts @@ -265,7 +265,12 @@ test.describe('Directory picker — selection', () => { }); // Click the backdrop to close - await page.locator('[data-testid="directory-picker-modal"]').locator('..').locator('div').first().click({ position: { x: 5, y: 5 }, force: true }); + await page + .locator('[data-testid="directory-picker-modal"]') + .locator('..') + .locator('div') + .first() + .click({ position: { x: 5, y: 5 }, force: true }); // Path input should keep the original value await expect(pathInput).toHaveValue('/my/custom/path'); diff --git a/gitnexus-web/src/components/DirectoryPicker.tsx b/gitnexus-web/src/components/DirectoryPicker.tsx index 5f144faa6..07b8018c9 100644 --- a/gitnexus-web/src/components/DirectoryPicker.tsx +++ b/gitnexus-web/src/components/DirectoryPicker.tsx @@ -137,7 +137,10 @@ export const DirectoryPicker = ({ open, onClose, onSelect, initialDir }: Directo {/* Directory listing */} -
+
{currentDir}