Integration Testing Error in Odoo 16 with Doodba #652
Unanswered
jmartinacu
asked this question in
Q&A
Replies: 1 comment 1 reply
|
@ap-wtioit have you experimented this any time? |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi, I am trying to implement End to End testing with Odoo Integration Testing while using tecnativa/doodba:16.0-onbuild image for development, specifically the
website_salemodule.When running the created end-to-end test, which does all the steps needed in the interface to place a sale order from the e-commerce.
I have encountered the following error (after adding a product to the cart):
Odoo also gives the following information:
Where you can see that the selector defined in the step trigger has found the element, but this element is not visible and because of this the step has failed.
The cause of the element being in the page content but not visible. Is that for some reason Odoo's headless browser is using a small enough browser size for the Odoo responsive layout to hide the button to access the shopping cart behind a dropdown button.
Odoo sets
browser_size = ‘1366x768’by default when using Odoo'sHttpCaseclass, which is a large enough size that no significant change is made due to the responsive layout.Does anyone know why the Odoo responsive layout is making changes to the UI, using the default browser size of HttpCase, when running tests inside the technative/doodba:16.0-onbuild image?
All reactions