我一直在使用TestCafe测试UI,我发现了一些奇怪的情况。 这是一个奇怪的例子。// it's passed because I expected... Selector('.v-menu__content.menuable__content__active') .withText(label).exis
(Selector('H1').withText('All Users').exists).ok()这个测试失败了: ✖ users should be able to view the(Selector('H1').withText('All Users').exists).ok() 12 |
问题是页面没有完全加载,也没有h1标记(Selector('H