Remove Saucelabs docs, not used

I haven’t heard of anybody actually using Saucelabs,
and those instructions are already out of date - e.g. the wd_host seems to require SSL now
(https://wiki.saucelabs.com/display/DOCS/Instant+Selenium+PHP+Tests)
and the capabilities are woefully outdated.
This commit is contained in:
Ingo Schommer 2017-01-05 22:15:52 +13:00
parent 6eedb7e6ea
commit e8f140b470

View File

@ -297,7 +297,7 @@ Example: mymodule/tests/behat/features/bootstrap/MyModule/Test/Behaviour/Feature
### Screen Size ### Screen Size
In some Selenium drivers like [SauceLabs](http://www.saucelabs.com) you can In some Selenium drivers you can
define the desired browser window size through a `capabilities` definition. define the desired browser window size through a `capabilities` definition.
By default, Selenium doesn't support this though, so we've added a workaround By default, Selenium doesn't support this though, so we've added a workaround
through an environment variable: through an environment variable:
@ -413,23 +413,6 @@ and [download the correct Firefox release](https://ftp.mozilla.org/pub/firefox/r
Alternatively, [configure Travis](https://docs.travis-ci.com/user/firefox/) to use a newer version. Alternatively, [configure Travis](https://docs.travis-ci.com/user/firefox/) to use a newer version.
Don't forget to disable auto-updates in your Firefox settings. Don't forget to disable auto-updates in your Firefox settings.
### How do I use SauceLabs.com for remote Selenium2 testing?
Here's a sample profile for your `behat.yml`:
# Saucelabs.com sample setup, use with "vendor/bin/behat --profile saucelabs"
saucelabs:
extensions:
SilverStripe\BehatExtension\MinkExtension:
selenium2:
browser: firefox
# Add your own username and API token here
wd_host: <user>:<api-token>@ondemand.saucelabs.com/wd/hub
capabilities:
platform: "Windows 2008"
browser: "firefox"
version: "15"
## Cheatsheet ## Cheatsheet
This is a manually categorized list of available commands This is a manually categorized list of available commands