Skip to content

Commit

Permalink
Switch launcher to selenium-webdriver (#156)
Browse files Browse the repository at this point in the history
* Make it easier to review changes

* Switch launcher to selenium-webdriver

* Switches `wd` to `selenium-webdriver`
* Removes hearbeat in favor of automatic `selenium-webdriver` timeout
* Converts everything to TypeScript
* Simplifies config parsing

* Pass proxy to Saucelabs API
  • Loading branch information
devversion authored and vikerman committed Dec 5, 2018
1 parent 2ef4585 commit 6525ddd
Show file tree
Hide file tree
Showing 23 changed files with 1,384 additions and 2,981 deletions.
3 changes: 0 additions & 3 deletions .eslintrc

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
sauce_connect.log
npm-debug.log
dist/
5 changes: 0 additions & 5 deletions .npmignore

This file was deleted.

23 changes: 11 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
sudo: false

language: node_js

node_js:
- "6"
- "8"
- "8.9.0"
- stable

before_install:
- npm i -g npm
- npm config set loglevel warn

before_script:
- npm install -g grunt-cli
- rm -rf node_modules/karma-sauce-launcher
- cd node_modules && ln -nsf ../ karma-sauce-launcher && cd ../

script:
- grunt
- yarn
- yarn build
- mv dist/ node_modules/karma-sauce-launcher
- yarn karma start examples/karma.conf-ci.js

cache:
yarn: true

notifications:
email: false

env:
global:
- secure: TFSCNKxxG4gWmLwX7Wlz61sdev46If0tmg9y3GZZXI/WSvcbSsVOj1k5nAhvlfOK7MMgTBC+bLCKuHlhhY7H3ZDbxKW/NaSNk4vNfWjrT7k7OQmmMi93PBXSdwLlQOBWPzyd7ZEZmUV8fBI3IWEORaUcDEPjKE5gSPtiaxynPLQ=
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
6 changes: 3 additions & 3 deletions examples/karma.conf-ci.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = function (config) {

// Browsers to run on Sauce Labs
// Check out https://saucelabs.com/platforms for all browser/OS combos
var customLaunchers = {
const customLaunchers = {
sl_chrome: {
base: 'SauceLabs',
browserName: 'chrome',
Expand All @@ -24,7 +24,7 @@ module.exports = function (config) {
platform: 'Windows 8.1',
version: '11'
}
}
};

config.set({
basePath: '',
Expand All @@ -51,4 +51,4 @@ module.exports = function (config) {
browsers: Object.keys(customLaunchers),
singleRun: true
})
}
};
8 changes: 0 additions & 8 deletions examples/test/.eslintrc

This file was deleted.

73 changes: 0 additions & 73 deletions gruntfile.js

This file was deleted.

15 changes: 0 additions & 15 deletions index.js

This file was deleted.

42 changes: 0 additions & 42 deletions lib/sauce_connect.js

This file was deleted.

Loading

0 comments on commit 6525ddd

Please sign in to comment.