-
Notifications
You must be signed in to change notification settings - Fork 2
/
75-configure-selenium.patch
60 lines (55 loc) · 1.83 KB
/
75-configure-selenium.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
configure-selenium
From: Bryan Larsen <[email protected]>
To configure selenium-on-rails, move `vendor/plugins/selenium-on-rails/test/fixtures/config.yml` to `config/selenium.yml` and edit the file appropriately.
---
config/selenium.yml | 42 ++++++++++++++++++++++++++++++++++++++++++
1 files changed, 42 insertions(+), 0 deletions(-)
create mode 100644 config/selenium.yml
diff --git a/config/selenium.yml b/config/selenium.yml
new file mode 100644
index 0000000..90a448a
--- /dev/null
+++ b/config/selenium.yml
@@ -0,0 +1,42 @@
+# Please read as our directions have changed:
+# Move this file to your rails apps config directory and rename it to selenium.yml in order to configure the plugin
+
+#
+# General settings
+#
+
+environments:
+ - test
+# - development # Uncomment this line to enable in development environment. N.B. your development database will likely be altered/destroyed/abducted
+
+#selenium_path: 'c:\selenium' #path to selenium installation. only needed if you for some reason don't want to use the bundled version of selenium core
+
+#
+# rake test:acceptance settings
+#
+
+browsers:
+ # Windows
+ # firefox: 'c:\Program Files\Mozilla Firefox\firefox.exe'
+ # ie: 'c:\Program Files\Internet Explorer\iexplore.exe'
+
+ # Mac OS X
+ #firefox: '/Applications/Firefox.app/Contents/MacOS/firefox-bin'
+ #safari: '/Applications/Safari.app/Contents/MacOS/Safari'
+
+ # Linux
+ firefox: /usr/bin/firefox
+ # using ies4linux
+ #ie6: /home/blarsen/bin/ie6
+
+#host: 'localhost'
+#port_start: 3000
+#port_end: 3005
+#base_url_path: '/'
+#max_browser_duration: 120
+#multi_window: false
+
+#result_dir: 'c:\result' # the directory where the results will be stored after a test:acceptance run
+
+#fixtures_path: <%= "#{RAILS_ROOT}/spec/fixtures" %>
+#selenium_tests_path: <%= "#{RAILS_ROOT}/spec/selenium" %>