From 830d22d8931a4e5f0606d401f24d7cd937f8697e Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Wed, 2 Feb 2022 11:13:48 +0100 Subject: support Parabola's Iceweasel in tests --- test/unit/test_popup.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/unit') diff --git a/test/unit/test_popup.py b/test/unit/test_popup.py index 3163adb..1fc262c 100644 --- a/test/unit/test_popup.py +++ b/test/unit/test_popup.py @@ -235,6 +235,12 @@ def test_popup_repo_query(driver, execute_in_page): @pytest.mark.ext_data(popup_ext_data) @pytest.mark.usefixtures('webextension') +# Under Parabola's Iceweasel 75 the settings page's window opened during this +# test is impossible to close using driver.close() - it raises an exception with +# message 'closeTab() not supported in iceweasel'. To avoid such error during +# test cleanup, we use the mark below to tell our driver fixture to span a +# separate browser instance for this test. +@pytest.mark.second_driver() def test_popup_settings_opening(driver, execute_in_page): """ Test opening the settings page from popup through button click. -- cgit v1.2.3