1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-28 15:22:05 +03:00

Use cypress-terminal-report (#11226)

* Use cypress-terminal-report

This cypress plugin gives nice console logs about what is happening: I hope it
will help us debug mysteriously failing tests.

In its default config, it only logs for failing tests.

* another anti-morgan hack

* Disable collection of `console.debug`

* `ctr:info` is not real
This commit is contained in:
Richard van der Hoff
2023-07-11 16:10:13 +01:00
committed by GitHub
parent 8bba3bb1a9
commit 113b6301f8
6 changed files with 58 additions and 1 deletions

View File

@ -15,6 +15,7 @@ limitations under the License.
*/
/// <reference types="cypress" />
import installLogsPrinter from "cypress-terminal-report/src/installLogsPrinter";
import PluginEvents = Cypress.PluginEvents;
import PluginConfigOptions = Cypress.PluginConfigOptions;
@ -35,4 +36,7 @@ export default function (on: PluginEvents, config: PluginConfigOptions) {
slidingSyncProxyDocker(on, config);
webserver(on, config);
log(on, config);
installLogsPrinter(on, {
// printLogsToConsole: "always",
});
}