chore(ui): add test expectation that doesn't immediately pass on blank tree
This commit is contained in:
parent
bdbe4795f1
commit
49c4d1f47d
|
|
@ -234,6 +234,7 @@ test('should only show tests selected with --grep', async ({ runUITest }) => {
|
||||||
const { page } = await runUITest(basicTestTree, undefined, {
|
const { page } = await runUITest(basicTestTree, undefined, {
|
||||||
additionalArgs: ['--grep', 'fails'],
|
additionalArgs: ['--grep', 'fails'],
|
||||||
});
|
});
|
||||||
|
await expect.poll(dumpTestTree(page)).toContain('fails');
|
||||||
await expect.poll(dumpTestTree(page)).not.toContain('passes');
|
await expect.poll(dumpTestTree(page)).not.toContain('passes');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue