For testing purposes, I aim to initiate a WordPress environment within a continuous integration system like Jenkins or GitHub Actions. This environment should mirror the production setup, with the same theme and activated plugins, facilitating the execution of Cypress tests to ensure code changes haven’t introduced visual discrepancies. The content does not have to be the same as production. If possible I would like to load fixtures or something, so the content will be exactly the same every test.
I’m grappling with how to precisely orchestrate this setup within Jenkins or GitHub Actions while maintaining consistent content and activated plugins. Despite my attempts to research, I’m struggling to grasp the solution. Does anyone have experience with this task, or perhaps suggest an alternative, more straightforward approach?
Note: I’m utilizing Bedrock with the Sage theme, and both development and production environments are Dockerized.
[ad_2]