Compare commits
8 commits
develop
...
testing-ci
Author | SHA1 | Date | |
---|---|---|---|
|
b89d8a1a98 | ||
|
e47f61c3d3 | ||
|
7a938b5d1d | ||
|
ac7fd24297 | ||
|
4c96ceff5c | ||
|
c6c5b322d7 | ||
|
370494fd87 | ||
|
1bad0a6856 |
2 changed files with 9 additions and 1 deletions
|
@ -23,6 +23,7 @@ test:
|
|||
- mkdir -pv $APT_CACHE_DIR && apt-get -qq update
|
||||
- apt install firefox-esr -y --no-install-recommends
|
||||
- firefox --version
|
||||
- firefox --headless --screenshot test.jpg https://pleroma.social/
|
||||
- yarn
|
||||
- yarn unit
|
||||
|
||||
|
|
|
@ -56,11 +56,18 @@ module.exports = function (config) {
|
|||
browsers: ['FirefoxHeadless'],
|
||||
frameworks: ['mocha', 'sinon-chai'],
|
||||
reporters: ['mocha'],
|
||||
logLevel: 'debug',
|
||||
browserConsoleLogOptions: {
|
||||
level: "debug",
|
||||
format: "%b %T: %m",
|
||||
terminal: true
|
||||
},
|
||||
customLaunchers: {
|
||||
'FirefoxHeadless': {
|
||||
base: 'Firefox',
|
||||
flags: [
|
||||
'-headless'
|
||||
'--headless',
|
||||
'--no-remote'
|
||||
]
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue