-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[18.0][FIX] web_pivot_computed_measure: fix tests #3038
base: 18.0
Are you sure you want to change the base?
[18.0][FIX] web_pivot_computed_measure: fix tests #3038
Conversation
Hi @CarlosRoca13, |
2c27331
to
509ef61
Compare
I am finding this error all the way: 2024-12-25 07:26:39,542 54005 INFO web_responsive_9 odoo.addons.web_pivot_computed_measure.tests.test_ui_pivot.TestUIPivot.test_ui: waiting for threads: [] UncaughtTypeError: Cannot read properties of undefined (reading '__computed_id') This external module was important for the test: with it being installed test failed, without it test didn't run! |
509ef61
to
1c85a7b
Compare
1c85a7b
to
6512a83
Compare
@chienandalu see here:
2024-12-30 15:24:55,997 250 ERROR odoo odoo.addons.web_pivot_computed_measure.tests.test_ui_pivot: FAIL: TestUIPivot.test_ui UncaughtTypeError: Cannot read properties of undefined (reading '__computed_id') test fails, I can remove my commented code but I wanted to show you both errors |
I think that the real problem is that we don't set the method tearDownClass on test 😓 Please add this code and try to run the test
|
ok, I will check on that |
after I tried the code you gave to me I got this error: 2025-01-08 14:16:27,483 107694 INFO web_pivot_computed_measure_2 odoo.addons.web_pivot_computed_measure.tests.test_ui_pivot: ====================================================================== UncaughtTypeError: Cannot read properties of undefined (reading '__computed_id') Does it mean that test is not working well as the UI is not clicked and the field value is not assigned, shall we change the test or remote it better? |
6f8331f
to
0b4d879
Compare
16d1f0b
to
33e5052
Compare
please review this PR and be aware that I made this PR to improve tests for this module that were failing in migration of web_responsive to 18.0 As you see now, the migration PR is depending on this PR and tests succeeded, thanks for your interset |
33e5052
to
82fb1b8
Compare
82fb1b8
to
af7210e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks 😄
af7210e
to
5dc2249
Compare
@kobros-tech anything else to review on here? I guess is blocking the |
for this PR no and also #3037 they should be merged. |
This fix is the cause for not merging a new migration for web_responsive module to version 18.0.
The migration PR is #3037