22
22
import static org .hamcrest .Matchers .lessThanOrEqualTo ;
23
23
import static org .junit .Assert .assertThat ;
24
24
import static org .openqa .selenium .testing .Ignore .Driver .HTMLUNIT ;
25
- import static org .openqa .selenium .testing .Ignore .Driver .IE ;
26
25
import static org .openqa .selenium .testing .Ignore .Driver .OPERA ;
27
26
import static org .openqa .selenium .testing .Ignore .Driver .OPERA_MOBILE ;
28
27
import static org .openqa .selenium .testing .Ignore .Driver .SAFARI ;
@@ -46,7 +45,6 @@ public void testShouldGetCoordinatesOfAnElementInViewPort() {
46
45
}
47
46
48
47
@ Test
49
- @ Ignore (IE )
50
48
public void testShouldGetCoordinatesOfAnEmptyElement () {
51
49
driver .get (appServer .whereIs ("coordinates_tests/page_with_empty_element.html" ));
52
50
assertThat (getLocationInViewPort (By .id ("box" )), is (new Point (10 , 10 )));
@@ -59,14 +57,12 @@ public void testShouldGetCoordinatesOfATransparentElement() {
59
57
}
60
58
61
59
@ Test
62
- @ Ignore (IE )
63
60
public void testShouldGetCoordinatesOfAHiddenElement () {
64
61
driver .get (appServer .whereIs ("coordinates_tests/page_with_hidden_element.html" ));
65
62
assertThat (getLocationInViewPort (By .id ("box" )), is (new Point (10 , 10 )));
66
63
}
67
64
68
65
@ Test
69
- @ Ignore (IE )
70
66
public void testShouldGetCoordinatesOfAnInvisibleElement () {
71
67
driver .get (appServer .whereIs ("coordinates_tests/page_with_invisible_element.html" ));
72
68
assertThat (getLocationInViewPort (By .id ("box" )), is (new Point (0 , 0 )));
@@ -91,15 +87,13 @@ public void testShouldGetCoordinatesOfAnElementInAFrame() {
91
87
}
92
88
93
89
@ Test
94
- @ Ignore (value = {IE }, reason = "IE: ignores frame border" )
95
90
public void testShouldGetCoordinatesInViewPortOfAnElementInAFrame () {
96
91
driver .get (appServer .whereIs ("coordinates_tests/element_in_frame.html" ));
97
92
driver .switchTo ().frame ("ifr" );
98
93
assertThat (getLocationInViewPort (By .id ("box" )), is (new Point (25 , 25 )));
99
94
}
100
95
101
96
@ Test
102
- @ Ignore (value = {IE }, reason = "IE: ignores frame border" )
103
97
public void testShouldGetCoordinatesInViewPortOfAnElementInANestedFrame () {
104
98
driver .get (appServer .whereIs ("coordinates_tests/element_in_nested_frame.html" ));
105
99
driver .switchTo ().frame ("ifr" );
0 commit comments