@@ -128,7 +128,7 @@ public void testCanMaximizeTheWindow() {
128
128
129
129
@ SwitchToTopAfterTest
130
130
@ Test
131
- @ Ignore (value = CHROME , travis = true )
131
+ @ Ignore (value = CHROME , gitHubActions = true )
132
132
@ Ignore (value = FIREFOX , gitHubActions = true )
133
133
public void testCanMaximizeTheWindowFromFrame () {
134
134
// Browser window cannot be resized or moved on ANDROID (and most mobile platforms
@@ -144,15 +144,15 @@ public void testCanMaximizeTheWindowFromFrame() {
144
144
145
145
@ SwitchToTopAfterTest
146
146
@ Test
147
- @ Ignore (value = CHROME , travis = true )
147
+ @ Ignore (value = CHROME , gitHubActions = true )
148
148
@ Ignore (value = FIREFOX , gitHubActions = true )
149
149
public void testCanMaximizeTheWindowFromIframe () {
150
150
// Browser window cannot be resized or moved on ANDROID (and most mobile platforms
151
151
// though others aren't defined in org.openqa.selenium.Platform).
152
152
assumeFalse (TestUtilities .getEffectivePlatform (driver ).is (ANDROID ));
153
153
154
154
driver .get (pages .iframePage );
155
- changeSizeTo (new Dimension (640 , 325 ));
155
+ changeSizeTo (new Dimension (640 , 400 ));
156
156
157
157
driver .switchTo ().frame ("iframe1-name" );
158
158
enlargeBy (WebDriver .Window ::maximize );
@@ -165,7 +165,7 @@ public void canMinimizeTheWindow() {
165
165
// though others aren't defined in org.openqa.selenium.Platform).
166
166
assumeFalse (TestUtilities .getEffectivePlatform (driver ).is (ANDROID ));
167
167
168
- changeSizeTo (new Dimension (640 , 323 ));
168
+ changeSizeTo (new Dimension (640 , 400 ));
169
169
driver .manage ().window ().minimize ();
170
170
// TODO: how to verify the result of this operation?
171
171
}
@@ -180,7 +180,7 @@ public void canFullscreenTheWindow() {
180
180
assumeFalse (TestUtilities .getEffectivePlatform (driver ).is (ANDROID ));
181
181
182
182
try {
183
- changeSizeTo (new Dimension (640 , 323 ));
183
+ changeSizeTo (new Dimension (640 , 400 ));
184
184
enlargeBy (WebDriver .Window ::fullscreen );
185
185
} finally {
186
186
driver .manage ().window ().setSize (new Dimension (640 , 323 ));
@@ -198,7 +198,7 @@ public void canFullscreenTheWindowFromFrame() {
198
198
assumeFalse (TestUtilities .getEffectivePlatform (driver ).is (ANDROID ));
199
199
200
200
driver .get (pages .framesetPage );
201
- changeSizeTo (new Dimension (640 , 324 ));
201
+ changeSizeTo (new Dimension (640 , 400 ));
202
202
203
203
driver .switchTo ().frame ("fourth" );
204
204
enlargeBy (WebDriver .Window ::fullscreen );
@@ -215,7 +215,7 @@ public void canFullscreenTheWindowFromIframe() {
215
215
assumeFalse (TestUtilities .getEffectivePlatform (driver ).is (ANDROID ));
216
216
217
217
driver .get (pages .iframePage );
218
- changeSizeTo (new Dimension (640 , 325 ));
218
+ changeSizeTo (new Dimension (640 , 400 ));
219
219
220
220
driver .switchTo ().frame ("iframe1-name" );
221
221
enlargeBy (WebDriver .Window ::fullscreen );
0 commit comments