The acceptance test in the demo-b2b-marketplace are all failing due to chrome driver issues
I was running the acceptance tests using this command
`docker/sdk testing codecept run -c codeception.acceptance.yml`
I have been receiving errors and failures in the tests. Some gets timed out and some gets errors. I tried to deep dive into it and find out that the '$tester->grabPageSource()' always returns
<html><head></head><body></body></html>
for every pages. This has something to do with the chromedriver I believe. I tried by removing "--headless" from codeception.acceptance.yml under extensions.config.capabilities.goog:chromeOptions.args and then I got this error for every test case,
"
[Facebook\WebDriver\Exception\UnknownErrorException] unknown error: Chrome failed to start: exited abnormally.
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /usr/local/bin/chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
"
Note: My chromedriver docker container is running successfully.
"
9d88ccf54ae7 spryker/chromedriver "chromedriver --port…" 2 days ago Up 28 hours (healthy) 4444/tcp waelzholz-customer-portal_webdriver_1
"
Does anyone know solution to this problem? Or any leads would be appreciated! Thanks in advance.
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 75 Spryker News
- 920 Developer Corner
- 780 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 25 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random