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