wedevelopnl/silverstripe-cypress

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

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

Installs: 576

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 6

Forks: 0

Open Issues: 0

Type:silverstripe-vendormodule

0.1.0 2024-07-08 09:23 UTC

This package is auto-updated.

Last update: 2024-10-24 17:31:24 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