Skip to content

Commit 4337a69

Browse files
committed
Ignore more tests
1 parent 5b01048 commit 4337a69

File tree

3 files changed

+242
-2
lines changed

3 files changed

+242
-2
lines changed

lib/PuppeteerSharp.Nunit/TestExpectations/TestExpectations.local.json

Lines changed: 240 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,21 @@
113113
"FAIL"
114114
]
115115
},
116+
{
117+
"comment": "This is part of organizing the webdriver bidi implementation, We will remove it one by one",
118+
"testIdPattern": "[navigation.spec] navigation Page.waitForNavigation*",
119+
"platforms": [
120+
"darwin",
121+
"linux",
122+
"win32"
123+
],
124+
"parameters": [
125+
"webDriverBiDi"
126+
],
127+
"expectations": [
128+
"FAIL"
129+
]
130+
},
116131
{
117132
"comment": "This is part of organizing the webdriver bidi implementation, We will remove it one by one",
118133
"testIdPattern": "[navigation.spec] *should work with anchor navigation*",
@@ -158,6 +173,21 @@
158173
"FAIL"
159174
]
160175
},
176+
{
177+
"comment": "This is part of organizing the webdriver bidi implementation, We will remove it one by one",
178+
"testIdPattern": "[navigation.spec] navigation Page.reload*",
179+
"platforms": [
180+
"darwin",
181+
"linux",
182+
"win32"
183+
],
184+
"parameters": [
185+
"webDriverBiDi"
186+
],
187+
"expectations": [
188+
"FAIL"
189+
]
190+
},
161191
{
162192
"comment": "This is part of organizing the webdriver bidi implementation, We will remove it one by one",
163193
"testIdPattern": "[navigation.spec] *should fail when navigating and show the url at the error message*",
@@ -173,6 +203,201 @@
173203
"FAIL"
174204
]
175205
},
206+
{
207+
"comment": "This is part of organizing the webdriver bidi implementation, We will remove it one by one",
208+
"testIdPattern": "[navigation.spec] *should work with self requesting page*",
209+
"platforms": [
210+
"darwin",
211+
"linux",
212+
"win32"
213+
],
214+
"parameters": [
215+
"webDriverBiDi"
216+
],
217+
"expectations": [
218+
"FAIL"
219+
]
220+
},
221+
{
222+
"comment": "This is part of organizing the webdriver bidi implementation, We will remove it one by one",
223+
"testIdPattern": "[navigation.spec] *should work when reload causes history API in beforeunload*",
224+
"platforms": [
225+
"darwin",
226+
"linux",
227+
"win32"
228+
],
229+
"parameters": [
230+
"webDriverBiDi"
231+
],
232+
"expectations": [
233+
"FAIL"
234+
]
235+
},
236+
{
237+
"comment": "This is part of organizing the webdriver bidi implementation, We will remove it one by one",
238+
"testIdPattern": "[navigation.spec] *should work when navigating to valid url*",
239+
"platforms": [
240+
"darwin",
241+
"linux",
242+
"win32"
243+
],
244+
"parameters": [
245+
"webDriverBiDi"
246+
],
247+
"expectations": [
248+
"FAIL"
249+
]
250+
},
251+
{
252+
"comment": "This is part of organizing the webdriver bidi implementation, We will remove it one by one",
253+
"testIdPattern": "[navigation.spec] *should work when navigating to 404*",
254+
"platforms": [
255+
"darwin",
256+
"linux",
257+
"win32"
258+
],
259+
"parameters": [
260+
"webDriverBiDi"
261+
],
262+
"expectations": [
263+
"FAIL"
264+
]
265+
},
266+
{
267+
"comment": "This is part of organizing the webdriver bidi implementation, We will remove it one by one",
268+
"testIdPattern": "[navigation.spec] *should wait for network idle to succeed navigation*",
269+
"platforms": [
270+
"darwin",
271+
"linux",
272+
"win32"
273+
],
274+
"parameters": [
275+
"webDriverBiDi"
276+
],
277+
"expectations": [
278+
"FAIL"
279+
]
280+
},
281+
{
282+
"comment": "This is part of organizing the webdriver bidi implementation, We will remove it one by one",
283+
"testIdPattern": "[navigation.spec] *should return last response in redirect chain*",
284+
"platforms": [
285+
"darwin",
286+
"linux",
287+
"win32"
288+
],
289+
"parameters": [
290+
"webDriverBiDi"
291+
],
292+
"expectations": [
293+
"FAIL"
294+
]
295+
},
296+
{
297+
"comment": "This is part of organizing the webdriver bidi implementation, We will remove it one by one",
298+
"testIdPattern": "[navigation.spec] *should not throw an error for a 404 response with an empty body*",
299+
"platforms": [
300+
"darwin",
301+
"linux",
302+
"win32"
303+
],
304+
"parameters": [
305+
"webDriverBiDi"
306+
],
307+
"expectations": [
308+
"FAIL"
309+
]
310+
},
311+
{
312+
"comment": "This is part of organizing the webdriver bidi implementation, We will remove it one by one",
313+
"testIdPattern": "[navigation.spec] *should navigate to page with iframe and networkidle0*",
314+
"platforms": [
315+
"darwin",
316+
"linux",
317+
"win32"
318+
],
319+
"parameters": [
320+
"webDriverBiDi"
321+
],
322+
"expectations": [
323+
"FAIL"
324+
]
325+
},
326+
{
327+
"comment": "This is part of organizing the webdriver bidi implementation, We will remove it one by one",
328+
"testIdPattern": "[navigation.spec] *should navigate to empty page with networkidle2*",
329+
"platforms": [
330+
"darwin",
331+
"linux",
332+
"win32"
333+
],
334+
"parameters": [
335+
"webDriverBiDi"
336+
],
337+
"expectations": [
338+
"FAIL"
339+
]
340+
},
341+
{
342+
"comment": "This is part of organizing the webdriver bidi implementation, We will remove it one by one",
343+
"testIdPattern": "[navigation.spec] *should navigate to empty page with networkidle0*",
344+
"platforms": [
345+
"darwin",
346+
"linux",
347+
"win32"
348+
],
349+
"parameters": [
350+
"webDriverBiDi"
351+
],
352+
"expectations": [
353+
"FAIL"
354+
]
355+
},
356+
{
357+
"comment": "This is part of organizing the webdriver bidi implementation, We will remove it one by one",
358+
"testIdPattern": "[navigation.spec] *should navigate to empty page with domcontentloaded*",
359+
"platforms": [
360+
"darwin",
361+
"linux",
362+
"win32"
363+
],
364+
"parameters": [
365+
"webDriverBiDi"
366+
],
367+
"expectations": [
368+
"FAIL"
369+
]
370+
},
371+
{
372+
"comment": "This is part of organizing the webdriver bidi implementation, We will remove it one by one",
373+
"testIdPattern": "[navigation.spec] *should not throw an error for a 500 response with an empty body*",
374+
"platforms": [
375+
"darwin",
376+
"linux",
377+
"win32"
378+
],
379+
"parameters": [
380+
"webDriverBiDi"
381+
],
382+
"expectations": [
383+
"FAIL"
384+
]
385+
},
386+
{
387+
"comment": "This is part of organizing the webdriver bidi implementation, We will remove it one by one",
388+
"testIdPattern": "[navigation.spec] *should return response when page changes its URL after load*",
389+
"platforms": [
390+
"darwin",
391+
"linux",
392+
"win32"
393+
],
394+
"parameters": [
395+
"webDriverBiDi"
396+
],
397+
"expectations": [
398+
"FAIL"
399+
]
400+
},
176401
{
177402
"comment": "This is part of organizing the webdriver bidi implementation, We will remove it one by one",
178403
"testIdPattern": "[navigation.spec] *SSL*",
@@ -983,6 +1208,21 @@
9831208
"FAIL"
9841209
]
9851210
},
1211+
{
1212+
"comment": "This is part of organizing the webdriver bidi implementation, We will remove it one by one",
1213+
"testIdPattern": "[puppeteer-sharp.spec.ts] PuppeteerSharp *",
1214+
"platforms": [
1215+
"darwin",
1216+
"linux",
1217+
"win32"
1218+
],
1219+
"parameters": [
1220+
"webDriverBiDi"
1221+
],
1222+
"expectations": [
1223+
"FAIL"
1224+
]
1225+
},
9861226
{
9871227
"comment": "This is part of organizing the webdriver bidi implementation, We will remove it one by one",
9881228
"testIdPattern": "[elementhandle.spec] PuppeteerSharp *",

lib/PuppeteerSharp.Tests/PageTests/CloseTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public async Task ShouldTerminateNetworkWaiters()
128128
Assert.That(exception.Message, Does.Not.Contain("Timeout"));
129129
}
130130

131-
[Test, Retry(2)]
131+
[Test, Retry(2), PuppeteerTest("page.spec", "Page Page.close PuppeteerSharp", "should close when connection breaks prematurely")]
132132
public async Task ShouldCloseWhenConnectionBreaksPrematurely()
133133
{
134134
Browser.Disconnect();

lib/PuppeteerSharp.Tests/PageTests/GetContentTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace PuppeteerSharp.Tests.PageTests
88
public class GetContentTests : PuppeteerPageBaseTest
99
{
1010

11-
[Test, Retry(2)]
11+
[Test, Retry(2), PuppeteerTest("puppeteer-sharp.spec.ts", "PuppeteerSharp", "should work with lone surrogate")]
1212
public async Task ShouldWorkWithLoneSurrogate()
1313
{
1414
await Page.GoToAsync(TestConstants.ServerUrl + "/lone-surrogate.html");

0 commit comments

Comments
 (0)