You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
peterschretlen
changed the title
Browser checks tests "error" when they don't contain any logs
Browser synthetics - test button shows "error" when results don't contain any logs
Oct 4, 2024
What happened:
When using the test button, the test result will show "there was an error running the test" if the test does not generate any logs
If I add a
console.log
to the script, the error goes away:What you expected to happen:
There should be no error
How to reproduce it (as minimally and precisely as possible):
This test (a no-op script) will produce an error
This test (adds a console.log) has no error
We seem to have an assumption that logs will be returned:
synthetic-monitoring-app/src/components/CheckTestResultsModal.tsx
Lines 106 to 109 in 26d0c5b
The text was updated successfully, but these errors were encountered: