Skip to content

Conversation

@carlos-lopez-tecnativa
Copy link
Contributor

For an unknown reason, when running the tests, the session does not have all variables filled, so apps_menu is undefined. This causes an error in tours of other modules: Cannot read properties of undefined (reading 'theme').
image
image

The curious thing is that if you run the tests of this module alone, they pass.
But when running tests together with another module, or starting the test manually from the browser, tests from the other module fail.
For example, when running tests with the voip_oca module.

After this commit, the tests pass correctly:

image

@Tecnativa @pedrobaeza @CarlosRoca13 could you please review this?

…ned variable

For an unknown reason, when running the tests, the session does not have all variables filled, so apps_menu is undefined.
This causes an error in tours of other modules: "Cannot read properties of undefined (reading 'theme')".

The curious thing is that if you run the tests of this module alone, they pass.
But when running tests together with another module, tests from the other module fail.
For example, when running tests with the voip_oca module.
@OCA-git-bot
Copy link
Contributor

Hi @Tardo, @SplashS,
some modules you are maintaining are being modified, check this out!

@pedrobaeza pedrobaeza added this to the 17.0 milestone Aug 5, 2025
Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems safe.

@CarlosRoca13
Copy link
Contributor

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 17.0-ocabot-merge-pr-3241-by-CarlosRoca13-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 1075a37 into OCA:17.0 Aug 6, 2025
7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 4a4c0d3. Thanks a lot for contributing to OCA. ❤️

@pedrobaeza pedrobaeza deleted the 17.0-fix-web_responsive_tours branch August 6, 2025 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants