diff --git a/e2e/support/config.js b/e2e/support/config.js
index f2943a1236e1ebc6e1a84fb320914c3777248ce4..7c07011d29a9df986bb166a698ee982fec9d67f1 100644
--- a/e2e/support/config.js
+++ b/e2e/support/config.js
@@ -52,7 +52,9 @@ const defaultConfig = {
 
     // cypress-terminal-report
     if (isCI) {
-      installLogsPrinter(on);
+      installLogsPrinter(on, {
+        printLogsToConsole: "never",
+      });
     }
 
     /********************************************************************
diff --git a/e2e/support/cypress.js b/e2e/support/cypress.js
index afba5dc5cfbb8540b3da9d67313b6488b9b1da2a..263ac712a4ee72f672e83f68f0623f75940f8a5a 100644
--- a/e2e/support/cypress.js
+++ b/e2e/support/cypress.js
@@ -3,12 +3,29 @@ registerCypressGrep();
 
 import "@cypress/skip-test/support";
 import "@testing-library/cypress/add-commands";
+import { configure } from "@testing-library/cypress";
 import "cypress-real-events/support";
 import addContext from "mochawesome/addContext";
 import "./commands";
 
 const isCI = Cypress.env("CI");
 
+// remove default html output on test failure
+configure({
+  getElementError: (message, container) => {
+    // to re-enable the default stack trace, uncomment
+    // import { prettyDOM } from "@testing-library/dom";
+    // const error = new Error(
+    //  [message, prettyDOM(container)].filter(Boolean).join('\n\n'),
+    // )
+    const error = new Error(message);
+    error.name = "TestingLibraryElementError";
+    error.stack = null;
+
+    return error;
+  },
+});
+
 Cypress.on("uncaught:exception", (err, runnable) => false);
 
 Cypress.on("test:before:run", () => {