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

chore: chromedriver and geckodriver dependencies along with circleci config #584

Merged
merged 4 commits into from
Apr 11, 2024
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
9 changes: 4 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,13 @@
#
# - to try run jobs locally:
#
# circleci config process .circleci/config.yml > tmp/processed.yml
# circleci local execute -c tmp/processed.yml --job build-nodejs-current
# circleci local execute -c .circleci/config.yml build-nodejs-current
#
version: 2.1

orbs:
codecov: codecov/codecov@3.2.3
browser-tools: circleci/browser-tools@1.4.1
browser-tools: circleci/browser-tools@1.4.8

references:
working_directory: &working_directory ~/webextension-polyfill
Expand All @@ -26,14 +25,14 @@ references:
# See https://hub.docker.com/r/cimg/node/tags for the cimg/node tags
# related to specific nodejs versions.
docker:
- image: cimg/node:14.19
- image: cimg/node:20.12

defaults-browsers: &defaults-browsers
<<: *defaults
# Image variant (combined with circleci/browser-tools orb) used to
# run integration tests using Firefox, Chrome and Xvfb.
docker:
- image: cimg/node:14.19-browsers
- image: cimg/node:20.12-browsers


commands:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
"babel-preset-minify": "0.5.2",
"browserify": "17.0.0",
"chai": "4.3.6",
"chromedriver": "112.0.0",
"chromedriver": "123.0.3",
"cross-env": "7.0.3",
"eslint": "8.35.0",
"finalhandler": "1.2.0",
"geckodriver": "3.2.0",
"geckodriver": "4.3.3",
"global-replaceify": "1.0.0",
"grunt": "1.6.1",
"grunt-babel": "8.0.0",
Expand Down
2 changes: 1 addition & 1 deletion test/test-browser-global.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe("browser-polyfill", () => {
runtime: {lastError: null},
};
const fakeBrowser = {
mycustomns: {mybrowserkey: true},
runtime: {id: "fakeid"},
};

return setupTestDOMWindow(fakeChrome, fakeBrowser).then(window => {
Expand Down