首页 > 解决方案 > React 测试用例在测试库中失败

问题描述

错误

测试库元素错误:Unable to find an element with the text: /learn react/i. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.

标签: reactjs

解决方案


推荐阅读