【发布时间】:2010-10-28 02:05:57
【问题描述】:
我正在学习 Cucumber,但我无法仅匹配输入标签。
我在视图中看到的是
<input type="submit" value="Press!" />
而我在 Cucumber 中尝试的是
Then the "input" field should contain "Press!"
Then the "type" field should contain "submit"
我只想确认具有某些值的输入标签的存在。没有互动。
【问题讨论】:
标签: ruby-on-rails cucumber webrat