Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
7e933712
Commit
7e933712
authored
Dec 10, 2014
by
Mathieu Giraud
Browse files
test_browser.rb: canonical absolute paths for index.html and .vidjil files
Some webdrivers require such canonical paths.
parent
f6de8a5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
browser/test/test_browser.rb
View file @
7e933712
...
...
@@ -33,9 +33,10 @@ class Browser < MiniTest::Test
def
set_browser
folder_path
=
Dir
.
pwd
index_path
=
'file://'
+
folder_path
+
'/../index.html'
data_path
=
folder_path
+
'/../../doc/analysis-example1.vidjil'
analysis_path
=
folder_path
+
'/test.analysis'
folder_path
.
sub!
'/browser/test'
,
''
index_path
=
'file://'
+
folder_path
+
'/browser/index.html'
data_path
=
folder_path
+
'/doc/analysis-example1.vidjil'
analysis_path
=
folder_path
+
'/browser/test/test.analysis'
$b
=
VidjilBrowser
.
new
:firefox
#$b = Watir::Browser.new :chrome
...
...
Write
Preview
Supports
Markdown
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