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.
toBeVisible
1 parent 95c7e65 commit 8d7ffc4Copy full SHA for 8d7ffc4
e2e/test/filesystem.test.ts
@@ -38,8 +38,8 @@ test('editor should reflect changes made from webcontainer in file in nested fol
38
});
39
40
// test that ignored actions are ignored
41
- expect(await page.getByRole('button', { name: 'other.txt' }).count()).toEqual(0);
42
- expect(await page.getByRole('button', { name: 'bar.txt' }).count()).toEqual(1);
+ await expect(page.getByRole('button', { name: 'other.txt' })).not.toBeVisible();
+ await expect(page.getByRole('button', { name: 'bar.txt' })).toBeVisible();
43
44
45
test('editor should reflect changes made from webcontainer in specified paths', async ({ page }) => {
0 commit comments