小编Jet*_*Jet的帖子

有没有办法让 espresso ViewAssert 用于正则表达式?

我想知道是否有任何方法可以为正则表达式生成 espresso ViewAssert,例如:

onView(withId(R.id.element_id)).check(matches(withRegEx("\\+d")));
Run Code Online (Sandbox Code Playgroud)

android ui-automation android-espresso

2
推荐指数
1
解决办法
1466
查看次数

标签 统计

android ×1

android-espresso ×1

ui-automation ×1