首页 > 解决方案 > 如何在 React 测试库中使用 *byRole 选择地址元素?

问题描述

我试过 screen.queryByRole("address") 但它不起作用。

标签: unit-testingroleswai-ariareact-testing-library

解决方案


推荐阅读