/
install.txt
25 lines (18 loc) · 999 Bytes
/
install.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
After you enable the module you will need to visit composer_manager [admin/config/system/composer-manager]
and allow it to rebuild composer.json from the composer.json file in this modules folder.
After that you need to put your Saucelabs info into the admin area here
[admin/config/system/behat-editor/sauce-labs]
You can get your API on the lower left of the screen once you log in on the Dashboard.
This will all go into your behat.yml file in the behat folder of this module.
See the behat.yml.sample file that is in that folder.
Note: to make sure tests run on saucleabs see the behat.yml.sample file
Webdriver-saucelabs:
context:
class: 'FeatureContext'
extensions:
Behat\MinkExtension\Extension:
default_session: selenium2 <---this line is key to force all tests to run on SL
selenium2:
browser: firefox
wd_host: USER_NAME:API_KEY@ondemand.saucelabs.com/wd/hub
capabilities: { "platform": "VISTA", "browser": "firefox", "version": "7"}