在testcafe文档中,我发现了count和exists "execute immediately regardless of the selector timeout"的断言。然而,在wait-mechanism-for-assertions段落文档中指出,"TestCafe不断重新计算实际值,直到它与期望值匹配或断言超时“。那么,使用exists的断言是立即执行还是使用默认的“断言超时”(3000m
比较1与2和1与3,当我从expect中排除await时,或者当我使用await等待t.expect时,可以单击edit 1. await t.expect(DetailsPage.commentsBody.find(`.dropdown-menu.show`).exists).ok(`comments drop down menu unavailable`) .expect(await DetailsPag