fix: another e2e test

This commit is contained in:
Kevin
2025-06-26 11:54:33 -05:00
parent 4987297e9c
commit f1bbbfc803
2 changed files with 3 additions and 2 deletions

View File

@ -1854,7 +1854,8 @@ test(
})
await test.step('check the last file is out of view initially, and can be scrolled to', async () => {
const element = page.getByText('tangential_arc.kcl')
const u = await getUtils(page)
const element = u.locatorFile('tangential_arc.kcl')
const container = page.getByTestId('file-pane-scroll-container')
await expect(await isOutOfViewInScrollContainer(element, container)).toBe(

View File

@ -656,7 +656,7 @@ export const ProjectExplorer = ({
ref={projectExplorerRef}
>
<div
className={`absolute w-full h-full ${activeIndex === -1 ? 'border-sky-500' : ''}`}
className={`overflow-auto absolute pb-12 inset-0 ${activeIndex === -1 ? 'border-sky-500' : ''}`}
data-testid="file-pane-scroll-container"
tabIndex={0}
role="tree"