Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New mochify #395

Merged
merged 4 commits into from
Dec 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ jobs:
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: 1
- name: Integration
run: |
export SINON_CHROME_BIN=$(which google-chrome-stable)
export PUPPETEER_EXECUTABLE_PATH=$(which google-chrome-stable)

# test-coverage runs test-headless in Chrome
npm run test-headless -- --chrome $SINON_CHROME_BIN --allow-chrome-as-root
npm run test-headless

saucelabs-test:
if: ${{ github.ref == 'refs/heads/main' }}
Expand Down
8 changes: 0 additions & 8 deletions .min-wd

This file was deleted.

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";
SimenB marked this conversation as resolved.
Show resolved Hide resolved

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,
},
},
},
};
Loading
Loading