fix: another e2e test
This commit is contained in:
@ -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(
|
||||
|
||||
@ -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"
|
||||
|
||||
Reference in New Issue
Block a user