2022-05-04 14:07:37 +03:00
|
|
|
/*
|
|
|
|
Copyright 2022 The Matrix.org Foundation C.I.C.
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/// <reference types="cypress" />
|
|
|
|
|
2022-05-17 18:16:14 +03:00
|
|
|
import "@percy/cypress";
|
2022-05-26 12:19:00 +03:00
|
|
|
import "cypress-real-events";
|
2023-03-29 09:47:05 +03:00
|
|
|
import "@testing-library/cypress/add-commands";
|
2023-07-11 18:10:13 +03:00
|
|
|
import installLogsCollector from "cypress-terminal-report/src/installLogsCollector";
|
2022-05-17 18:16:14 +03:00
|
|
|
|
2023-05-16 15:15:20 +03:00
|
|
|
import "./config.json";
|
2023-01-11 02:29:56 +03:00
|
|
|
import "./homeserver";
|
2022-05-04 17:11:33 +03:00
|
|
|
import "./login";
|
2022-06-15 17:14:05 +03:00
|
|
|
import "./labs";
|
2022-05-10 20:09:31 +03:00
|
|
|
import "./client";
|
|
|
|
import "./settings";
|
|
|
|
import "./bot";
|
2022-05-26 12:19:00 +03:00
|
|
|
import "./clipboard";
|
|
|
|
import "./util";
|
2022-05-26 13:12:49 +03:00
|
|
|
import "./app";
|
2022-06-09 00:12:56 +03:00
|
|
|
import "./percy";
|
2022-06-10 18:24:15 +03:00
|
|
|
import "./webserver";
|
|
|
|
import "./views";
|
|
|
|
import "./iframes";
|
2022-07-18 15:16:44 +03:00
|
|
|
import "./timeline";
|
|
|
|
import "./network";
|
2022-07-20 10:56:52 +03:00
|
|
|
import "./composer";
|
2022-09-07 18:42:39 +03:00
|
|
|
import "./proxy";
|
2022-08-01 10:31:14 +03:00
|
|
|
import "./axe";
|
2023-08-15 18:14:53 +03:00
|
|
|
import "./mailhog";
|
|
|
|
import "./promise";
|
2023-07-11 18:10:13 +03:00
|
|
|
|
|
|
|
installLogsCollector({
|
|
|
|
// specify the types of logs to collect (and report to the node console at the end of the test)
|
|
|
|
collectTypes: [
|
|
|
|
"cons:log",
|
|
|
|
"cons:info",
|
|
|
|
"cons:warn",
|
|
|
|
"cons:error",
|
|
|
|
// "cons:debug",
|
|
|
|
"cy:log",
|
|
|
|
"cy:xhr",
|
|
|
|
"cy:fetch",
|
|
|
|
"cy:request",
|
|
|
|
"cy:intercept",
|
|
|
|
"cy:command",
|
|
|
|
],
|
|
|
|
});
|