File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
rb/spec/integration/selenium/webdriver Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -33,13 +33,13 @@ module WebDriver
33
33
expect ( size . height ) . to be > 0
34
34
end
35
35
36
- it 'sets the size of the current window' , except : { browser : :ie } do
36
+ it 'sets the size of the current window' do
37
37
size = window . size
38
38
39
39
target_width = size . width - 20
40
40
target_height = size . height - 20
41
41
42
- window . size = Dimension . new ( target_width , target_height )
42
+ window . size = Dimension . new ( target_height )
43
43
44
44
new_size = window . size
45
45
expect ( new_size . width ) . to eq ( target_width )
@@ -55,7 +55,7 @@ module WebDriver
55
55
expect ( pos . y ) . to be >= 0
56
56
end
57
57
58
- it 'sets the position of the current window' , except : { browser : %i[ ie safari_preview ] } do
58
+ it 'sets the position of the current window' , except : { browser : : safari_preview} do
59
59
pos = window . position
60
60
61
61
target_x = pos . x + 10
@@ -100,7 +100,7 @@ module WebDriver
100
100
expect ( new_rect . height ) . to eq ( target_height )
101
101
end
102
102
103
- it 'can maximize the current window' , except : [ { window_manager : false } , { browser : :ie } ] do
103
+ it 'can maximize the current window' , except : { window_manager : false } do
104
104
window . size = old_size = Dimension . new ( 200 , 200 )
105
105
106
106
window . maximize
You can’t perform that action at this time.
0 commit comments