bigbite / wp-cypress

WordPress end to end testing with Cypress.io.
MIT License
86 stars 19 forks source link

Windows support #66

Closed SiimKirjanen closed 2 years ago

SiimKirjanen commented 3 years ago

Describe the bug Hey. Does this awesome project support Windows? I am trying to run it with Windows 10 + docker desktop (3.3.3) but having problems

To Reproduce

When I try to spin up wp-cypress I get the following

error1

Logs show

error2

When I exec into the container I see (no wp-config.php)

directory

When I try to access container in browser I get

install

Expected behavior

Would be super if I can use Windows.

Desktop (please complete the following information):

mirkootter commented 2 years ago

I just ran into the same problem and want to use this project, so I decided to look into it. There are several problems, mainly caused by the different command lines. Although this project uses docker-compose exec to forward the CLI to the linux container, the command line is parsed on the host.

I created a pull request to solve these problems: