@@ -503,7 +503,6 @@ async def test_should_round_trip_har_zip(
503
503
await expect (page_2 .locator ("body" )).to_have_css (
504
504
"background-color" , "rgb(255, 192, 203)"
505
505
)
506
- await context_2 .close ()
507
506
508
507
509
508
async def test_should_round_trip_har_with_post_data (
@@ -537,7 +536,6 @@ async def test_should_round_trip_har_with_post_data(
537
536
assert await page_2 .evaluate (fetch_function , "3" ) == "3"
538
537
with pytest .raises (Exception ):
539
538
await page_2 .evaluate (fetch_function , "4" )
540
- await context_2 .close ()
541
539
542
540
543
541
async def test_should_disambiguate_by_header (
@@ -580,7 +578,6 @@ async def test_should_disambiguate_by_header(
580
578
assert await page_2 .evaluate (fetch_function , "baz2" ) == "baz2"
581
579
assert await page_2 .evaluate (fetch_function , "baz3" ) == "baz3"
582
580
assert await page_2 .evaluate (fetch_function , "baz4" ) == "baz1"
583
- await context_2 .close ()
584
581
585
582
586
583
async def test_should_produce_extracted_zip (
@@ -608,7 +605,6 @@ async def test_should_produce_extracted_zip(
608
605
await expect (page_2 .locator ("body" )).to_have_css (
609
606
"background-color" , "rgb(255, 192, 203)"
610
607
)
611
- await context_2 .close ()
612
608
613
609
614
610
async def test_should_update_har_zip_for_context (
@@ -631,7 +627,6 @@ async def test_should_update_har_zip_for_context(
631
627
await expect (page_2 .locator ("body" )).to_have_css (
632
628
"background-color" , "rgb(255, 192, 203)"
633
629
)
634
- await context_2 .close ()
635
630
636
631
637
632
async def test_should_update_har_zip_for_page (
@@ -654,7 +649,6 @@ async def test_should_update_har_zip_for_page(
654
649
await expect (page_2 .locator ("body" )).to_have_css (
655
650
"background-color" , "rgb(255, 192, 203)"
656
651
)
657
- await context_2 .close ()
658
652
659
653
660
654
async def test_should_update_extracted_har_zip_for_page (
@@ -681,4 +675,3 @@ async def test_should_update_extracted_har_zip_for_page(
681
675
await expect (page_2 .locator ("body" )).to_have_css (
682
676
"background-color" , "rgb(255, 192, 203)"
683
677
)
684
- await context_2 .close ()
0 commit comments