From d3caa61fe580fd07c1577b0bd8c8e58cbe93b9ba Mon Sep 17 00:00:00 2001 From: Situphen Date: Sat, 13 Jan 2024 13:04:06 +0100 Subject: [PATCH] test2 --- zds/member/tests/tests_front.py | 2 +- zds/tutorialv2/tests/tests_front.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zds/member/tests/tests_front.py b/zds/member/tests/tests_front.py index 0db96ed7b1..ca55eea008 100644 --- a/zds/member/tests/tests_front.py +++ b/zds/member/tests/tests_front.py @@ -12,7 +12,7 @@ class MemberFrontTests(StaticLiveServerTestCase): def setUpClass(cls): super().setUpClass() options = Options() - options.headless = True + options.add_argument("--headless=new") cls.selenium = Firefox(options=options) cls.selenium.implicitly_wait(30) diff --git a/zds/tutorialv2/tests/tests_front.py b/zds/tutorialv2/tests/tests_front.py index 67d65814b4..b9c2af62db 100644 --- a/zds/tutorialv2/tests/tests_front.py +++ b/zds/tutorialv2/tests/tests_front.py @@ -37,7 +37,7 @@ class PublicationFronttest(StaticLiveServerTestCase, TutorialTestMixin, Tutorial def setUpClass(cls): super().setUpClass() options = Options() - options.headless = True + options.add_argument("--headless=new") cls.selenium = Firefox(options=options) cls.selenium.implicitly_wait(10)