Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tech task] Support system specs in docker #3884

Merged
merged 2 commits into from
Dec 14, 2023

Conversation

giladshanan
Copy link
Collaborator

Release Notes

Allows system specs to run in docker.
Also updates schema.rb

@giladshanan giladshanan requested a review from a team as a code owner December 7, 2023 23:52
@giladshanan giladshanan requested review from LeticiaErrandonea and removed request for a team December 7, 2023 23:53
@LeticiaErrandonea
Copy link
Collaborator

I'm getting this error:

Selenium::WebDriver::Error::SessionNotCreatedError:
            Could not start a new session. Error while creating session with the driver service. Stopping driver service: Could not start a new session. Response code 500. Message: session not created: Chrome failed to start: exited normally.
              (chrome not reachable)
              (The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
            Host info: host: '04443cec6256', ip: '172.22.0.2'
            Build info: version: '4.15.0', revision: '1d14b5521b'
            System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.4.16-linuxkit', java.version: '11.0.21'
            Driver info: driver.version: unknown
            Build info: version: '4.15.0', revision: '1d14b5521b'
            System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.4.16-linuxkit', java.version: '11.0.21'
            Driver info: driver.version: unknown

I tried a "start over" solution but didn't work:

  1. Delete all previous containers (except db)
  2. $ docker-compose up
  3. $ docker exec -it <CONTAINER> bash
  4. Run spec with :js tag

Still got the same errors.

@giladshanan
Copy link
Collaborator Author

@LeticiaErrandonea I'm able to run specs locally with this set up, and I'm not sure yet why it's not working on your end. I'm going to merge this in for now and we can keep digging.

@giladshanan giladshanan merged commit 68ae240 into master Dec 14, 2023
3 checks passed
@giladshanan giladshanan deleted the tech-task-system-specs-in-docker branch December 14, 2023 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants