Compare commits

...

6 Commits

Author SHA1 Message Date
Lee Miller 50f789848d
Define a custom karma launcher - Chromium with --no-sandbox flag
buildbot/multibuild_parent Build done. Details
buildbot/travis_bionic Build done. Details
Testing / default (push) Failing after 1m32s Details
2024-02-29 15:55:21 +02:00
Lee Miller 4a95a1ee62
Update karma-chrome-launcher 2024-02-29 15:54:17 +02:00
Lee Miller 0f393cea75
Correct CHROME_BIN
buildbot/multibuild_parent Build done. Details
buildbot/travis_bionic Build done. Details
Testing / default (push) Failing after 1m31s Details
2024-02-29 15:18:49 +02:00
Lee Miller 697a2f99c5
Try setting CHROME_BIN
buildbot/multibuild_parent Build done. Details
buildbot/travis_bionic Build done. Details
Testing / default (push) Failing after 1m32s Details
2024-02-29 14:19:36 +02:00
Lee Miller 98e0fca935
Install also chromium
buildbot/multibuild_parent Build done. Details
buildbot/travis_bionic Build done. Details
Testing / default (push) Failing after 1m31s Details
2024-02-29 00:57:57 +02:00
Lee Miller 85132d451a
Try to install Firefox
buildbot/multibuild_parent Build done. Details
buildbot/travis_bionic Build done. Details
Testing / default (push) Failing after 1m26s Details
2024-02-29 00:51:39 +02:00
3 changed files with 11 additions and 4 deletions

View File

@ -9,10 +9,10 @@ jobs:
run: |
apt-get update
apt-get install -yq --no-install-suggests --no-install-recommends \
xauth xvfb
xauth xvfb chromium firefox-esr
- name: Check out repository code
uses: actions/checkout@v3
- name: Install
run: npm install
- name: Run tests
run: npm test
run: CHROME_BIN=/usr/bin/chromium npm test

View File

@ -53,7 +53,14 @@ module.exports = function(config) {
// start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
browsers: ["Chrome", "Firefox"],
browsers: ["Chromium", "Firefox"],
customLaunchers: {
Chromium: {
base: "Chrome",
flags: ["--no-sandbox"]
}
},
// Continuous Integration mode
// if true, Karma captures browsers, runs the tests and exits

View File

@ -42,7 +42,7 @@
"jshint": "*",
"karma": "6.4.1",
"karma-browserify": "8.1.0",
"karma-chrome-launcher": "3.1.0",
"karma-chrome-launcher": "3.2.0",
"karma-cli": "2.0.0",
"karma-firefox-launcher": "1.2.0",
"karma-mocha": "2.0.1",