Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
vidjil
vidjil
Commits
459ee95b
Commit
459ee95b
authored
Mar 13, 2019
by
Mikaël Salson
Committed by
Vidjil Team
Mar 13, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests/functional: More robust chrome detection
parent
0406c9c1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
browser/test/functional/test_multilocus.rb
browser/test/functional/test_multilocus.rb
+1
-1
browser/test/functional/vidjil_browser.rb
browser/test/functional/vidjil_browser.rb
+1
-1
No files found.
browser/test/functional/test_multilocus.rb
View file @
459ee95b
...
...
@@ -219,7 +219,7 @@ class TestMultilocus < BrowserTest
def
test_14_export_sample_report
if
ENV
[
'WATIR_CHROME'
]
if
$b
.
driver
.
capabilities
.
browser_name
==
'chrome'
skip
"Issue #3699 must be solved first"
end
...
...
browser/test/functional/vidjil_browser.rb
View file @
459ee95b
...
...
@@ -10,7 +10,7 @@ class VidjilBrowser < Watir::Browser
Selenium
::
WebDriver
::
Chrome
.
path
=
ENV
[
'WATIR_BROWSER_PATH'
]
end
# :chrome or :safari
if
ENV
[
'WATIR_CHROME'
]
if
ENV
[
'WATIR_CHROME'
]
or
ENV
[
'WATIR_BROWSER_PATH'
].
include?
"chrom"
super
:chrome
elsif
ENV
[
'WATIR_MARIONETTE'
]
super
:firefox
...
...
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