We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ead4c3b commit 94482d0Copy full SHA for 94482d0
data-browser/tests/e2e.spec.ts
@@ -334,7 +334,7 @@ test.describe('data-browser', async () => {
334
page.click('button:has-text("Upload file")'),
335
]);
336
await fileChooser.setFiles(demoFile);
337
- await page.click(`a:has-text("${demoFileName}")`);
+ await page.click(`[data-test="file-pill"]:has-text("${demoFileName}")`);
338
const image = page.locator('[data-test="image-viewer"]');
339
await expect(image).toBeVisible();
340
await expect(image).toHaveScreenshot({ maxDiffPixelRatio: 0.1 });
0 commit comments