Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Jérome Perrin
erp5
Commits
7c8082a2
Commit
7c8082a2
authored
Apr 07, 2017
by
Vincent Bechu
2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5Type/tests: back to selenium 2.5.3
parent
0f1699fd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py
product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py
+2
-3
No files found.
product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py
View file @
7c8082a2
...
@@ -46,7 +46,6 @@ from selenium import webdriver
...
@@ -46,7 +46,6 @@ from selenium import webdriver
from
selenium.webdriver.common.by
import
By
from
selenium.webdriver.common.by
import
By
from
selenium.webdriver.support.ui
import
WebDriverWait
from
selenium.webdriver.support.ui
import
WebDriverWait
from
selenium.webdriver.support
import
expected_conditions
as
EC
from
selenium.webdriver.support
import
expected_conditions
as
EC
from
selenium.webdriver.firefox.firefox_binary
import
FirefoxBinary
ZELENIUM_BASE_URL
=
"%s/portal_tests/%s/core/TestRunner.html?test=../test_suite_html&auto=on&resultsUrl=../postResults&__ac_name=%s&__ac_password=%s"
ZELENIUM_BASE_URL
=
"%s/portal_tests/%s/core/TestRunner.html?test=../test_suite_html&auto=on&resultsUrl=../postResults&__ac_name=%s&__ac_password=%s"
...
@@ -155,10 +154,10 @@ class FunctionalTestRunner:
...
@@ -155,10 +154,10 @@ class FunctionalTestRunner:
firefox_driver
=
firefox_bin
.
replace
(
"firefox-slapos"
,
"geckodriver"
)
firefox_driver
=
firefox_bin
.
replace
(
"firefox-slapos"
,
"geckodriver"
)
firefox_capabilities
=
webdriver
.
common
.
desired_capabilities
.
DesiredCapabilities
.
FIREFOX
firefox_capabilities
=
webdriver
.
common
.
desired_capabilities
.
DesiredCapabilities
.
FIREFOX
firefox_capabilities
[
'marionette'
]
=
True
firefox_capabilities
[
'marionette'
]
=
True
firefox_capabilities
[
'binary'
]
=
firefox_bin
browser
=
webdriver
.
Firefox
(
browser
=
webdriver
.
Firefox
(
capabilities
=
firefox_capabilities
,
capabilities
=
firefox_capabilities
,
executable_path
=
firefox_driver
,
executable_path
=
firefox_driver
)
firefox_binary
=
FirefoxBinary
(
firefox_bin
))
start_time
=
time
.
time
()
start_time
=
time
.
time
()
browser
.
get
(
self
.
_getTestURL
())
browser
.
get
(
self
.
_getTestURL
())
...
...
Jérome Perrin
@jerome
mentioned in commit
bbd34edd
·
May 11, 2017
mentioned in commit
bbd34edd
mentioned in commit bbd34eddad7dca74c55c28af35fcd3e1cd5d2a32
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment