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

[IMP] web_widget_dropdown_dynamic: Remove QUnit import from tests #3145

Open
wants to merge 1 commit into
base: 18.0
Choose a base branch
from

Conversation

JasminSForgeFlow
Copy link
Contributor

@JasminSForgeFlow JasminSForgeFlow commented Apr 1, 2025

Fix tests issue in #3136

@JasminSForgeFlow JasminSForgeFlow force-pushed the 18.0-imp-web_widget_dropdown_dynamic branch from fb4588a to 6d444f5 Compare April 1, 2025 07:16
import {editInput, getFixture} from "@web/../tests/helpers/utils";
import {makeView, setupViewRegistries} from "@web/../tests/views/helpers";
import {QUnit} from "@web/static/lib/qunit/qunit";
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't it QUnit used a bit below? Could you explain the rationale behind the patch?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It doesn't require import as it's js lib

and causing this issue in web_timeline tests

2025-04-01 07:14:55,423 270 ERROR odoo odoo.addons.web_timeline.tests.test_web_timeline.TestWebTimeline.test_timeline_arch.browser: The following modules are needed by other modules but have not been defined, they may not be present in the correct asset bundle: ['@web/static/lib/qunit/qunit']

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

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.

5 participants