fix window maximize test on mac
diff --git a/test/src/window_test.dart b/test/src/window_test.dart
index 5f9a432..ca9b278 100644
--- a/test/src/window_test.dart
+++ b/test/src/window_test.dart
@@ -37,11 +37,11 @@
// maximizing can take some time
await waitFor(() async => (await window.location).x,
- matcher: lessThan(100));
+ matcher: lessThanOrEqualTo(100));
var location = await window.location;
var size = await window.size;
- expect(location.x, lessThan(100));
+ expect(location.x, lessThanOrEqualTo(100));
expect(location.y, lessThan(200));
expect(size.height, greaterThan(200));
expect(size.width, greaterThan(300));
diff --git a/test/webdriver_test.dart b/test/webdriver_test.dart
index 09a91e0..8b86c67 100644
--- a/test/webdriver_test.dart
+++ b/test/webdriver_test.dart
@@ -1,7 +1,5 @@
library webdriver_test;
-import 'package:unittest/vm_config.dart';
-
import 'src/alert_test.dart' as alert;
import 'src/keyboard_test.dart' as keyboard;
import 'src/lock_test.dart' as lock;
@@ -19,8 +17,6 @@
* as they are slow and they have external dependencies.
*/
void main() {
- useVMConfiguration();
-
alert.main();
keyboard.main();
lock.main();