Calling Developers!
We are reenergizing our code contribution process! Learn More

What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Then I run one specific module test: ```docker/sdk cli -t -x codecept run -c tests/PyzTest/Yves/Avai

Options
U04LGKSDANM
U04LGKSDANM Posts: 14 πŸ§‘πŸ»β€πŸš€ - Cadet
edited February 2023 in Code Testing

Then I run one specific module test:

docker/sdk cli -t -x
codecept run -c tests/PyzTest/Yves/Availability

This one is broken:
[ConnectionException] Can't connect to WebDriver at http://0.0.0.0:4444/wd/hub. Make sure that ChromeDriver, GeckoDriver or Selenium Server is running.

Comments

  • domagoj.krizanec
    domagoj.krizanec Spryker Technology Partner Posts: 9 πŸ§‘πŸ»β€πŸš€ - Cadet
    Options

    Try to run project with -t flag. Like:
    docker/sdk up -t

  • U04LGKSDANM
    U04LGKSDANM Posts: 14 πŸ§‘πŸ»β€πŸš€ - Cadet
    Options

    so I am doing:

    docker/sdk up -t
    docker/sdk cli -t -x
    codecept run -c tests/PyzTest/Yves/Availability
    

    and the result is the same

  • domagoj.krizanec
    domagoj.krizanec Spryker Technology Partner Posts: 9 πŸ§‘πŸ»β€πŸš€ - Cadet
    Options

    Please check if the webdriver is running with command:
    docker ps

  • U04LGKSDANM
    U04LGKSDANM Posts: 14 πŸ§‘πŸ»β€πŸš€ - Cadet
    Options

    yes, it is

  • U04LGKSDANM
    U04LGKSDANM Posts: 14 πŸ§‘πŸ»β€πŸš€ - Cadet
    Options

    hi @UU416RABB, can we please continue here?

  • domagoj.krizanec
    domagoj.krizanec Spryker Technology Partner Posts: 9 πŸ§‘πŸ»β€πŸš€ - Cadet
    Options

    Hi @U04LGKSDANM. Usually running the whole project in test mode would solve this for me. So I don't really know why it's not working. Also, I tried now on latest demoshop and it's failing for me also, but with different error message.

  • U04LGKSDANM
    U04LGKSDANM Posts: 14 πŸ§‘πŸ»β€πŸš€ - Cadet
    edited February 2023
    Options

    so I started with Spryker like 1 month ago. And I have the same problems with the b2c demoshop. Other developers encounter the same problems, and we used different setups (windows 10, wsl2, ubuntu, docker desktop - macos - ubuntu native).

  • U04LGKSDANM
    U04LGKSDANM Posts: 14 πŸ§‘πŸ»β€πŸš€ - Cadet
    Options
    docker/sdk up -t -x
    docker/sdk cli -t -x
    codecept run -c tests/PyzTest/Yves/Availability
    
  • U04LGKSDANM
    U04LGKSDANM Posts: 14 πŸ§‘πŸ»β€πŸš€ - Cadet
    Options
    docker/sdk up -t -x
    docker/sdk cli -t -x
    codecept run -c tests/PyzTest/Yves/Availability --debug