Skip to content

Commit

Permalink
test2
Browse files Browse the repository at this point in the history
  • Loading branch information
Situphen committed Jan 13, 2024
1 parent a02d089 commit 5628d75
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/source/utils/selenium.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Voici le contenu d'un test :
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)

Expand Down
2 changes: 1 addition & 1 deletion zds/member/tests/tests_front.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class MemberFrontTests(StaticLiveServerTestCase):
def setUpClass(cls):
super().setUpClass()
options = Options()
options.headless = True
options.add_argument("--headless")
cls.selenium = Firefox(options=options)
cls.selenium.implicitly_wait(30)

Expand Down
2 changes: 1 addition & 1 deletion zds/tutorialv2/tests/tests_front.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class PublicationFronttest(StaticLiveServerTestCase, TutorialTestMixin, Tutorial
def setUpClass(cls):
super().setUpClass()
options = Options()
options.headless = True
options.add_argument("--headless")
cls.selenium = Firefox(options=options)
cls.selenium.implicitly_wait(10)

Expand Down

0 comments on commit 5628d75

Please sign in to comment.