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