Skip to content

Commit

Permalink
Setup new mochify
Browse files Browse the repository at this point in the history
  • Loading branch information
mantoni committed Sep 6, 2021
1 parent 38ded9d commit 0c46b87
Show file tree
Hide file tree
Showing 3 changed files with 6,460 additions and 7,486 deletions.
25 changes: 25 additions & 0 deletions mochify.webdriver.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
"use strict";

module.exports = {
driver: "webdriver",
// eslint-disable-next-line camelcase
driver_options: {
// Tests must run on a http website for Microsoft Edge to have
// sessionStorage.
url: "http://maxantoni.de/doctype.html",
hostname: "ondemand.saucelabs.com",
path: "/wd/hub",
port: 80,
capabilities: {
browserName: process.env.BROWSER_NAME,
browserVersion: "latest",
"sauce:options": {
build: `${process.env.BROWSER_NAME} ${
process.env.GITHUB_RUN_NUMBER || Date.now()
}`,
username: process.env.SAUCE_USERNAME,
accessKey: process.env.SAUCE_ACCESS_KEY,
},
},
},
};

0 comments on commit 0c46b87

Please sign in to comment.