diff --git a/History.md b/History.md index 0d2ecb69..16477bf7 100644 --- a/History.md +++ b/History.md @@ -1,12 +1,12 @@ # Version 3.1.0 -Release date: unreleased +Release date: 2018-05-10 ### Added * Support for using `select` with text inputs associated with a datalist element * `type` filter on `:button` selector * Support for server operating in https mode -* Selenium driver now uses JS to fill_in date and time fields when passed date or time objects [Aleksei Gusev, Thomas Walpole] +* Selenium driver now uses JS to fill_in/set date and time fields when passed date or time objects [Aleksei Gusev, Thomas Walpole] # Version 3.0.3 Release date: 2018-04-30 diff --git a/lib/capybara/spec/session/window/window_spec.rb b/lib/capybara/spec/session/window/window_spec.rb index f78a1fce..00b4fa2d 100644 --- a/lib/capybara/spec/session/window/window_spec.rb +++ b/lib/capybara/spec/session/window/window_spec.rb @@ -119,7 +119,7 @@ Capybara::SpecHelper.spec Capybara::Window, requires: [:windows] do it 'should be able to resize window', requires: %i[windows js] do width, height = @initial_size - @session.current_window.resize_to(width -100, height - 100) + @session.current_window.resize_to(width - 100, height - 100) sleep 1 expect(@session.current_window.size).to eq([width - 100, height - 100]) end diff --git a/lib/capybara/version.rb b/lib/capybara/version.rb index fa39d823..1af19ccb 100644 --- a/lib/capybara/version.rb +++ b/lib/capybara/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Capybara - VERSION = '3.1.0.dev'.freeze + VERSION = '3.1.0'.freeze end