Compare commits
8 Commits
develop
...
testing-ci
Author | SHA1 | Date |
---|---|---|
Henry Jameson | b89d8a1a98 | |
Henry Jameson | e47f61c3d3 | |
Henry Jameson | 7a938b5d1d | |
Henry Jameson | ac7fd24297 | |
Henry Jameson | 4c96ceff5c | |
Henry Jameson | c6c5b322d7 | |
Henry Jameson | 370494fd87 | |
Henry Jameson | 1bad0a6856 |
|
@ -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 New Issue