fix incorrect test assertions

This commit is contained in:
Gildas Garcia committed 2026-10-02 11:06:29 +02:00
1 parent ae249158ab
commit fac1a4a1a6
1 file changed
+2 -2
+2 -2
View File
@@ -589,7 +589,7 @@ test.describe('Storage', () => {
'another-file.txt'
)
await page.getByPlaceholder('Search in root directory...').fill('test')
expect(await page.getByTitle('another-file.text').count()).toEqual(0)
expect(await page.getByTitle('another-file.txt').count()).toEqual(0)
expect(await page.getByTitle('test-file.txt').count()).toEqual(1)
expect(await page.getByTitle('test-file-2.txt').count()).toEqual(1)
@@ -599,7 +599,7 @@ test.describe('Storage', () => {
// Check the filter is still applied
expect(await page.getByTitle('test-file.txt').count()).toEqual(0)
expect(await page.getByTitle('test-file-2.txt').count()).toEqual(1)
expect(await page.getByTitle('another-file.text').count()).toEqual(0)
expect(await page.getByTitle('another-file.txt').count()).toEqual(0)
})
test('can delete a folder', async ({ page, ref }) => {