We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f5b3ea commit ff7b308Copy full SHA for ff7b308
spec/integration/session_spec.rb
@@ -241,6 +241,12 @@
241
FileUtils.rm_f(filename)
242
end
243
244
+
245
+ it "sets a value for a color input" do
246
+ element = @session.find(:css, "#change_me_color")
247
+ element.set("#ddeeff")
248
+ expect(element.value).to eq("#ddeeff")
249
+ end
250
251
252
describe "Node#visible" do
spec/support/views/with_js.erb
@@ -38,6 +38,7 @@
38
<input type="text" name="change_me_withname" id="change_me_withname">
39
</p>
40
<p><input type="file" name="change_me_file" id="change_me_file"></p>
41
+ <p><input type="color" name="change_me_color" id="change_me_color"></p>
42
<p id="changes"></p>
43
<p id="changes_on_input"></p>
44
<p id="changes_on_keydown"></p>
0 commit comments