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

Chromium and websocket-client packages missing for js testing #277

Closed
qdelcourte opened this issue Oct 14, 2019 · 3 comments · May be fixed by #409
Closed

Chromium and websocket-client packages missing for js testing #277

qdelcourte opened this issue Oct 14, 2019 · 3 comments · May be fixed by #409

Comments

@qdelcourte
Copy link

qdelcourte commented Oct 14, 2019

Tested on version 12

I'm not able to run my js tests because packages are missing :

  • python websocket-client package
  • chromium-browser package

Step to reproduce:

Run a test with js web_tour

Displayed in logs:

WARNING db odoo.addons.my_addon.tests.test_js.TestJS: websocket-client module is not installed
INFO db odoo.addons.my_addon.tests.test_js: skipped 'websocket-client module is not installed'

After I have installed websocket-client in container:
INFO db odoo.addons.my_addon.tests.test_js: skipped 'Chrome executable not found'

@kovacs-andras
Copy link
Contributor

Tested on version 12

I'm not able to run my js tests because packages are missing :

  • python websocket-client package
  • chromium-browser package

Step to reproduce:

Run a test with js web_tour

Displayed in logs:

WARNING db odoo.addons.my_addon.tests.test_js.TestJS: websocket-client module is not installed
INFO db odoo.addons.my_addon.tests.test_js: skipped 'websocket-client module is not installed'

After I have installed websocket-client in container:
INFO db odoo.addons.my_addon.tests.test_js: skipped 'Chrome executable not found'

It says 'Chrome executable not found' because you haven't installed yet.

@d-fence
Copy link
Contributor

d-fence commented Jan 21, 2020

I'm sorry to say that the Odoo Docker image is not really made for development.
We want to keep the image as small as possible, so we do not plan to put Chrome on the image.
I think that the best option is to use your own image, derived from the base Odoo image.
Then add, chrome, websocket-client ...

@d-fence d-fence closed this as completed Jan 21, 2020
@kovacs-andras
Copy link
Contributor

We want to keep the image as small as possible, so we do not plan to put Chrome on the image.

In this case I think I will have some pull requests.

amh-mw added a commit to amh-mw/odoo-docker that referenced this issue Apr 7, 2022
amh-mw added a commit to amh-mw/odoo-docker that referenced this issue Apr 18, 2022
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 a pull request may close this issue.

3 participants