Remove extra output from generator and mocha tests (#5196)

* Remove extra output from generator tests

* Fix test

* Update loglevel for both tests
This commit is contained in:
alschmiedt
2021-07-27 11:03:16 -07:00
committed by GitHub
parent fe8c9761a1
commit cccc4693a5
3 changed files with 4 additions and 2 deletions

View File

@@ -42,6 +42,7 @@ async function runGeneratorsInBrowser() {
capabilities: {
browserName: 'chrome',
},
logLevel: 'warn',
services: ['selenium-standalone']
};
// Run in headless mode on Github Actions.

View File

@@ -24,7 +24,8 @@ async function runMochaTestsInBrowser() {
},
services: [
['selenium-standalone']
]
],
logLevel: 'warn'
};
// Run in headless mode on Github Actions.
if (process.env.CI) {

View File

@@ -18,7 +18,7 @@ check_result() {
if [ -f $tmp_filename ]; then
local golden_filename="${GOLDEN_DIR}generated.$suffix"
if [ -f $golden_filename ]; then
if cmp --silent $tmp_filename $golden_filename; then
if cmp $tmp_filename $golden_filename; then
echo -e "$SUCCESS_PREFIX $suffix: $tmp_filename matches $golden_filename"
else
echo -e "$FAILURE_PREFIX $suffix: $tmp_filename does not match $golden_filename"