android / android/testing-samples

Espresso Web - perform(DriverAtoms.webKeys("0.11")) only inputs 11

未关闭
#528 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
9.3k
派生
3.6k
PR 合并指标
30 天内没有已合并 PR

描述

When interacting with webviews using this code

onWebView().withElement(findElement(Locator.ID, "payment-amount")).perform(DriverAtoms.webKeys("0.11"))

it only enters 11 without the decimal. I am trying to figure out how I can include decimal point in sending keys to webview.

Any idea?

贡献指南

打开贡献指南

调研方向

首先,使用 DriverAtoms.webKeys("0.11") 重现 issue 中的 Espresso Web 代码片段,并检查该入口如何处理小数点字符。确定小数点字符是否到达 webview 输入框,并验证完整值是否按预期输入。

由索引模型根据 Issue 内容生成。

评估

技术栈
android, java
领域
testing
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。