tyler36 / ddev-cypress

Cypress E2E testing for use with DDEV
Apache License 2.0
11 stars 8 forks source link

What's the project status? and is there a working example? #41

Closed TravisCarden closed 2 months ago

TravisCarden commented 2 months ago

👋 Hi! I'm looking to add Cypress testing to my DDEV project, and I haven't been able to get this add-on (specifically the cypress-open command) to work, either in my project or in a "hello world" minimal setup. It doesn't look like this project has been updated in a while. What's the current status? Is there a verified "hello world"-style, working example implementation I could try so I can determine whether I'm doing something wrong or there's an upstream issue? Thanks!

tyler36 commented 2 months ago

Hi @TravisCarden

The project is currently in a "maintained and working" state.

There are nightly tests BATS tests that confirm

See tests/test.bats for example setups.

tyler36 commented 2 months ago

I haven't been able to get this add-on (specifically the cypress-open command) to work

It's hard to know what's going on. I just tested on WSL with DDEV 1.23.3-33-g88ae3c3a4 and it "works for me". If you use a Mac, you might want to look at #38 which is trying to improve the setup guide. Perhaps you have further suggestions there?

TravisCarden commented 2 months ago

Thanks for pointing that out, @tyler36. It did surface a couple of things that I was missing--most importantly, the docker-compose.cypress_extra.yaml bit. I don't have any further suggestions, but I can affirm that the current proposal is a definite improvement and the additions worked for me.

tyler36 commented 2 months ago

I can affirm that the current proposal is a definite improvement and the additions worked for me.

Thank you for the feedback on #38 .