【发布时间】:2019-08-19 10:07:27
【问题描述】:
重新加载的常识是使用await t.eval(() => location.reload(true));。
但是,使用这种方法,如果您使用固定钩子安装了任何东西(例如 testcafe-testing-library),则重新加载页面后,它将不再可用。
有没有办法重新执行夹具挂钩?
提出的相关 GitHub 问题 https://github.com/testing-library/testcafe-testing-library/issues/28
【问题讨论】:
标签: testing automation e2e-testing page-refresh testcafe