38
38
import org .openqa .selenium .testing .JupiterTestBase ;
39
39
import org .openqa .selenium .testing .NeedsSecureServer ;
40
40
import org .openqa .selenium .testing .NotWorkingInRemoteBazelBuilds ;
41
- import org .openqa .selenium .testing .NotYetImplemented ;
42
41
import org .openqa .selenium .testing .SwitchToTopAfterTest ;
43
42
44
43
@ NeedsSecureServer
@@ -74,7 +73,6 @@ public void setUp() {
74
73
}
75
74
76
75
@ Test
77
- @ NotYetImplemented (SAFARI )
78
76
public void testShouldGetCookieByName () {
79
77
String key = generateUniqueKey ();
80
78
String value = "set" ;
@@ -87,7 +85,6 @@ public void testShouldGetCookieByName() {
87
85
}
88
86
89
87
@ Test
90
- @ NotYetImplemented (SAFARI )
91
88
@ NotWorkingInRemoteBazelBuilds (FIREFOX )
92
89
public void testShouldBeAbleToAddCookie () {
93
90
String key = generateUniqueKey ();
@@ -104,7 +101,6 @@ public void testShouldBeAbleToAddCookie() {
104
101
}
105
102
106
103
@ Test
107
- @ NotYetImplemented (SAFARI )
108
104
public void testGetAllCookies () {
109
105
String key1 = generateUniqueKey ();
110
106
String key2 = generateUniqueKey ();
@@ -130,7 +126,6 @@ public void testGetAllCookies() {
130
126
}
131
127
132
128
@ Test
133
- @ NotYetImplemented (SAFARI )
134
129
public void testDeleteAllCookies () {
135
130
addCookieOnServerSide (new Cookie ("foo" , "set" ));
136
131
assertSomeCookiesArePresent ();
@@ -144,7 +139,6 @@ public void testDeleteAllCookies() {
144
139
}
145
140
146
141
@ Test
147
- @ NotYetImplemented (SAFARI )
148
142
public void testDeleteCookieWithName () {
149
143
String key1 = generateUniqueKey ();
150
144
String key2 = generateUniqueKey ();
@@ -166,7 +160,6 @@ public void testDeleteCookieWithName() {
166
160
}
167
161
168
162
@ Test
169
- @ NotYetImplemented (SAFARI )
170
163
public void testShouldNotDeleteCookiesWithASimilarName () {
171
164
String cookieOneName = "fish" ;
172
165
Cookie cookie1 = new Cookie .Builder (cookieOneName , "cod" ).build ();
@@ -187,7 +180,6 @@ public void testShouldNotDeleteCookiesWithASimilarName() {
187
180
}
188
181
189
182
@ Test
190
- @ NotYetImplemented (SAFARI )
191
183
public void testAddCookiesWithDifferentPathsThatAreRelatedToOurs () {
192
184
driver .get (domainHelper .getUrlForFirstValidHostname ("/common/animals" ));
193
185
Cookie cookie1 = new Cookie .Builder ("fish" , "cod" ).path ("/common/animals" ).build ();
@@ -224,7 +216,6 @@ public void testGetCookiesInAFrame() {
224
216
}
225
217
226
218
@ Test
227
- @ NotYetImplemented (SAFARI )
228
219
public void testCannotGetCookiesWithPathDifferingOnlyInCase () {
229
220
String cookieName = "fish" ;
230
221
Cookie cookie = new Cookie .Builder (cookieName , "cod" ).path ("/Common/animals" ).build ();
@@ -235,7 +226,6 @@ public void testCannotGetCookiesWithPathDifferingOnlyInCase() {
235
226
}
236
227
237
228
@ Test
238
- @ NotYetImplemented (SAFARI )
239
229
public void testShouldNotGetCookieOnDifferentDomain () {
240
230
assumeTrue (domainHelper .checkHasValidAlternateHostname ());
241
231
@@ -249,7 +239,6 @@ public void testShouldNotGetCookieOnDifferentDomain() {
249
239
}
250
240
251
241
@ Test
252
- @ NotYetImplemented (SAFARI )
253
242
@ NotWorkingInRemoteBazelBuilds (FIREFOX )
254
243
public void testShouldBeAbleToAddToADomainWhichIsRelatedToTheCurrentDomain () {
255
244
String cookieName = "name" ;
@@ -289,7 +278,6 @@ void testShouldBeAbleToIncludeLeadingPeriodInDomainName() {
289
278
}
290
279
291
280
@ Test
292
- @ NotYetImplemented (SAFARI )
293
281
@ NotWorkingInRemoteBazelBuilds (FIREFOX )
294
282
public void testShouldBeAbleToSetDomainToTheCurrentDomain () throws Exception {
295
283
URI url = new URI (driver .getCurrentUrl ());
@@ -304,7 +292,6 @@ public void testShouldBeAbleToSetDomainToTheCurrentDomain() throws Exception {
304
292
}
305
293
306
294
@ Test
307
- @ NotYetImplemented (SAFARI )
308
295
@ NotWorkingInRemoteBazelBuilds (CHROME )
309
296
@ NotWorkingInRemoteBazelBuilds (EDGE )
310
297
@ NotWorkingInRemoteBazelBuilds (FIREFOX )
@@ -336,7 +323,6 @@ public void testShouldWalkThePathToDeleteACookie() {
336
323
}
337
324
338
325
@ Test
339
- @ NotYetImplemented (SAFARI )
340
326
@ NotWorkingInRemoteBazelBuilds (FIREFOX )
341
327
public void testShouldIgnoreThePortNumberOfTheHostWhenSettingTheCookie () throws Exception {
342
328
URI uri = new URI (driver .getCurrentUrl ());
@@ -352,7 +338,6 @@ public void testShouldIgnoreThePortNumberOfTheHostWhenSettingTheCookie() throws
352
338
}
353
339
354
340
@ Test
355
- @ NotYetImplemented (SAFARI )
356
341
@ NotWorkingInRemoteBazelBuilds (CHROME )
357
342
@ NotWorkingInRemoteBazelBuilds (EDGE )
358
343
@ NotWorkingInRemoteBazelBuilds (FIREFOX )
@@ -383,7 +368,6 @@ public void testCookieEqualityAfterSetAndGet() {
383
368
}
384
369
385
370
@ Test
386
- @ NotYetImplemented (SAFARI )
387
371
public void testRetainsCookieExpiry () {
388
372
Cookie addedCookie =
389
373
new Cookie .Builder ("fish" , "cod" )
@@ -470,7 +454,6 @@ public void testRetainsHttpOnlyFlag() {
470
454
}
471
455
472
456
@ Test
473
- @ NotYetImplemented (SAFARI )
474
457
public void testSettingACookieThatExpiredInThePast () {
475
458
long expires = System .currentTimeMillis () - 1000 ;
476
459
Cookie cookie = new Cookie .Builder ("expired" , "yes" ).expiresOn (new Date (expires )).build ();
@@ -483,7 +466,6 @@ public void testSettingACookieThatExpiredInThePast() {
483
466
}
484
467
485
468
@ Test
486
- @ NotYetImplemented (SAFARI )
487
469
public void testCanSetCookieWithoutOptionalFieldsSet () {
488
470
String key = generateUniqueKey ();
489
471
String value = "foo" ;
@@ -496,7 +478,6 @@ public void testCanSetCookieWithoutOptionalFieldsSet() {
496
478
}
497
479
498
480
@ Test
499
- @ NotYetImplemented (SAFARI )
500
481
public void testDeleteNotExistedCookie () {
501
482
String key = generateUniqueKey ();
502
483
assertCookieIsNotPresentWithName (key );
@@ -637,7 +618,6 @@ private void addCookieOnServerSide(Cookie cookie) {
637
618
}
638
619
639
620
@ Test
640
- @ NotYetImplemented (SAFARI )
641
621
public void deleteAllCookies () {
642
622
assumeTrue (domainHelper .checkHasValidAlternateHostname ());
643
623
0 commit comments