File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
rb/spec/integration/selenium/webdriver Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -172,6 +172,9 @@ module WebDriver
172172 . pointer_down ( :left ) . pointer_up ( :left )
173173 . perform
174174 expect ( element . attribute ( :value ) ) . to eq ( 'DoubleClicked' )
175+ ensure
176+ # https://issues.chromium.org/issues/400087471
177+ reset_driver! if GlobalTestEnv . browser == :chrome && GlobalTestEnv . rbe?
175178 end
176179 end
177180
Original file line number Diff line number Diff line change @@ -89,6 +89,9 @@ module WebDriver
8989 expect {
9090 driver . switch_to . new_window ( :unknown )
9191 } . to raise_error ( ArgumentError )
92+ ensure
93+ # https://issues.chromium.org/issues/400087471
94+ reset_driver! if GlobalTestEnv . browser == :chrome && GlobalTestEnv . rbe?
9295 end
9396
9497 it 'switches to the new window then close it when given a block' do
You can’t perform that action at this time.
0 commit comments