Skip to content

Commit 7299417

Browse files
committed
Fix bucket explorer playwright
1 parent 49a0221 commit 7299417

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

playwright/tests/bucket-explorer.p.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ test('navigate gems volume', async ({ page, utils }) => {
104104
)
105105

106106
await page.locator('[data-test="search-input"] input').fill('bucket')
107-
await expect(page.locator('tbody > tr')).toHaveCount(2)
107+
await expect(page.locator('tbody > tr')).toHaveCount(1)
108108
// Download the file
109109
await utils.download(page, 'tbody > tr [data-test="download-file"] >> nth=0')
110110

@@ -117,7 +117,7 @@ test('navigate gems volume', async ({ page, utils }) => {
117117
/.*\/tools\/bucketexplorer\/%2Fgems%2Fcosmoscache%2F/,
118118
)
119119
await page.locator('[data-test="search-input"] input').fill('bucket')
120-
await expect(page.locator('tbody > tr')).toHaveCount(2)
120+
await expect(page.locator('tbody > tr')).toHaveCount(1)
121121
})
122122

123123
test('direct URLs', async ({ page, utils }) => {
@@ -255,7 +255,7 @@ test('navigate logs and tools bucket', async ({ page, utils }) => {
255255
if (process.env.ENTERPRISE === '1') {
256256
await expect(page.locator('tbody > tr')).toHaveCount(23)
257257
} else {
258-
await expect(page.locator('tbody > tr')).toHaveCount(20)
258+
await expect(page.locator('tbody > tr')).toHaveCount(17)
259259
}
260260
})
261261

0 commit comments

Comments
 (0)