From 3cef5d8ecdac7a34eeada8f7bfc31c9cc12b1e29 Mon Sep 17 00:00:00 2001 From: jsfehler Date: Wed, 12 Jun 2024 12:31:45 -0400 Subject: [PATCH] tests: Fix screenshot suffix (#1297) --- tests/test_screenshot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_screenshot.py b/tests/test_screenshot.py index a10af70c1..cc37772fa 100644 --- a/tests/test_screenshot.py +++ b/tests/test_screenshot.py @@ -60,8 +60,8 @@ def test_take_screenshot_with_suffix(browser_name, get_new_browser): browser = get_new_browser(browser_name) browser.visit(EXAMPLE_APP) - filename = browser.screenshot(suffix=".jpg") - assert ".jpg" in filename[-4:] + filename = browser.screenshot(suffix=".png") + assert ".png" in filename[-4:] @pytest.mark.parametrize("browser_name", supported_browsers)