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 be9a75e commit 2a7a7b0Copy full SHA for 2a7a7b0
spec/integration/widgets/datetimepicker_spec.rb
@@ -21,6 +21,7 @@
21
22
it 'populates the value selected by the Datetime picker into the hidden_field' do
23
visit new_path(model_name: 'field_test')
24
+ is_expected.to have_css '.form-control.flatpickr-input', visible: false
25
page.execute_script <<-JS
26
document.querySelector('#field_test_datetime_field')._flatpickr.setDate('2015-10-08 14:00:00');
27
JS
@@ -54,7 +55,7 @@
54
55
end
56
57
- is_expected.to have_text 'New Field test'
58
59
60
document.querySelector('#field_test_datetime_field')._flatpickr.setDate('2015-10-08 12:34:56');
61
0 commit comments