Switch to sorry-cypress (#11668)

This commit is contained in:
Michael Telatynski 2023-09-26 07:17:14 +01:00 committed by GitHub
parent 54c88c57ed
commit 24b10a87c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 356 additions and 25 deletions

View file

@ -16,6 +16,8 @@ limitations under the License.
/// <reference types="cypress" />
import installLogsPrinter from "cypress-terminal-report/src/installLogsPrinter";
import cloudPlugin from "cypress-cloud/plugin";
import { initPlugins } from "cypress-plugin-init";
import PluginEvents = Cypress.PluginEvents;
import PluginConfigOptions = Cypress.PluginConfigOptions;
@ -32,15 +34,22 @@ import { mailhogDocker } from "./mailhog";
* @type {Cypress.PluginConfig}
*/
export default function (on: PluginEvents, config: PluginConfigOptions) {
docker(on, config);
synapseDocker(on, config);
dendriteDocker(on, config);
slidingSyncProxyDocker(on, config);
webserver(on, config);
oAuthServer(on, config);
log(on, config);
initPlugins(
on,
[
cloudPlugin,
docker,
synapseDocker,
dendriteDocker,
slidingSyncProxyDocker,
webserver,
oAuthServer,
log,
mailhogDocker,
],
config,
);
installLogsPrinter(on, {
// printLogsToConsole: "always",
});
mailhogDocker(on, config);
}