magento2-cypress-testing-suite icon indicating copy to clipboard operation
magento2-cypress-testing-suite copied to clipboard

Add github actions to run the tests on a plain magento

Open amenk opened this issue 3 years ago • 2 comments

We (@kolaente) would like to have / add a GitHub action which run the cypress tests on GitHub

Possible starting points:

https://github.com/extdn/github-actions-m2 -> but I am not sure if that runs a Magento instance which can be accessed by Cypress

This is how Shopware does Cypress tests: https://github.com/shopware/platform/blob/trunk/.github/workflows/03-e2e.yml

amenk avatar May 13 '22 09:05 amenk

Maybe also check out https://github.com/graycoreio/github-actions-magento2 :)

sprankhub avatar Jul 14 '22 06:07 sprankhub

Very interesting, thanks.

PS: I will not have time in the near future to work on this issue here - anyone who wants to take over is very welcome :-) I tried some things here but it was more or less a failure and I feel I took the wrong approach.

amenk avatar Jul 14 '22 06:07 amenk

Done!

peterjaap avatar Sep 14 '22 14:09 peterjaap

https://github.com/elgentos/magento2-cypress-testing-suite/blob/main/.github/workflows/main.yml

https://github.com/elgentos/magento2-cypress-testing-suite/actions/runs/3053615539/jobs/4924464391

peterjaap avatar Sep 14 '22 14:09 peterjaap