[tests] suppress debug logs in CI environment + improve calendar symbol test stability #3941
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
CI Log Suppression
Two-level approach for clean test output:
logger.setLogLevel("ERROR")in CI to hide verbose loggingmmTestModeflag and check it before logging errors that are part of test assertions (e.g., testing error handling ingit_helper.jsandserver_functions.js)This keeps CI output clean and makes genuine failures immediately visible, while preserving full logging for local development.
Before: 1348 log lines with verbose debug/info output
After: 168 log clean lines with only test results
Calendar Symbol Test Stability
Convert the calendar symbol test from external URL (
calendarlabs.com) to existing local mock file (12_events.ics). This eliminates CI timeouts caused by external dependencies and improves test reliability.The test still validates the same symbol array feature but now runs faster and deterministically without network dependencies.