aboutsummaryrefslogtreecommitdiff
path: root/test/unit/test_popup.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/test_popup.py')
-rw-r--r--test/unit/test_popup.py6
1 files changed, 6 insertions, 0 deletions
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.