wedevelopnl/silverstripe-cypress

There is no license information available for the latest version (0.0.2) of this package.

Helper module to run cypress tests on a Silverstripe website inside the GitLab CI.

Installs: 108

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 7

Forks: 0

Open Issues: 0

Type:silverstripe-vendormodule

0.0.2 2023-08-07 08:11 UTC

This package is auto-updated.

Last update: 2024-05-01 00:06:22 UTC


README

Helper module to allow cypress to be ran against a functional Silverstripe webiste inside the context of an CI.

Note!

This module might be usefull inside various CI configuration/implementations so feel free to use it when applicable. But note that this module is designed specifically to run inside our internal GitLab CI default configuration/setup.

We will not provide support or implement features that are not supported by our configuration.

Tools

The module provides various tools to ease testing in a CI context.

Generate TinyMCE configuration

Silverstripe will generate its TinyMCE configuration on the fly when requested. But when running a seperate webserver container as service inside the GitLab CI these files are generated on the service running php-fpm preventing the webserver from accessing it. We provide a build task which generates the tinymce bundle files so they can be build into the webserver container during the build stage.

To run this task: ./vendor/bin/sake dev/tasks/generate-tinyMCE-combined-task --no-database