elgentos / magento2-cypress-testing-suite

A community-driven Cypress testing suite for Magento 2
MIT License
172 stars 37 forks source link

Add github actions to run the tests on a plain magento #51

Closed amenk closed 2 years ago

amenk commented 2 years ago

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

sprankhub commented 2 years ago

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

amenk commented 2 years ago

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.

peterjaap commented 2 years ago

Done!

peterjaap commented 2 years ago

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