mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
fix incorrect test assertions
This commit is contained in:
1 file changed
+2
-2
@@ -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 }) => {
|
||||
|
||||
Reference in new issue
Block a user