Skip to content

Commit 94482d0

Browse files
committed
Fix upload test
1 parent ead4c3b commit 94482d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data-browser/tests/e2e.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ test.describe('data-browser', async () => {
334334
page.click('button:has-text("Upload file")'),
335335
]);
336336
await fileChooser.setFiles(demoFile);
337-
await page.click(`a:has-text("${demoFileName}")`);
337+
await page.click(`[data-test="file-pill"]:has-text("${demoFileName}")`);
338338
const image = page.locator('[data-test="image-viewer"]');
339339
await expect(image).toBeVisible();
340340
await expect(image).toHaveScreenshot({ maxDiffPixelRatio: 0.1 });

0 commit comments

Comments
 (0)