Skip to content

[18.0][FIX] web_widget_pattern: isolate HOOT filter - #3670

Merged
OCA-git-bot merged 1 commit into
OCA:18.0from
cetmix:18.0-fix-web_widget_pattern
Sep 16, 2026
Merged

OCA-git-bot merged 1 commit into
OCA:18.0from
cetmix:18.0-fix-web_widget_pattern

Conversation

@ivs-cetmix

@ivs-cetmix ivs-cetmix commented Sep 15, 2026

Copy link
Copy Markdown
Member

HOOT treats filter=WebWidgetPattern as a fuzzy subsequence, so other WebWidget* suites (for example web_widget_autocomplete) run inside this module's browser job. That can fail the pattern tests for unrelated reasons, and it can leave most of the other suite unexecuted.

Use a regex filter so only this suite is selected.

Made with Cursor and Ivan who checked the code after it 😄

ivs-cetmix added a commit to cetmix/oca-web that referenced this pull request Sep 15, 2026
Temporary reference to the web_widget_pattern HOOT filter fix so this
PR's tests do not leak into that suite. Remove after OCA#3670
is merged.

Task 5613

Co-authored-by: Cursor <cursoragent@cursor.com>
@ivs-cetmix

Copy link
Copy Markdown
Member Author

Hey @OCA/web-maintainers would appreciate this merged asap, as this can be a blocker for new modules - e.g. the one that's mentioned in this PR.

ivs-cetmix added a commit to cetmix/oca-web that referenced this pull request Sep 15, 2026
Temporary reference to the web_widget_pattern HOOT filter fix so this
PR's tests do not leak into that suite. Remove after OCA#3670
is merged.

Task 5613

Co-authored-by: Cursor <cursoragent@cursor.com>

@etobella etobella left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It is usually cleaner to use the standard odoo way of defining JS testing

https://github.com/OCA/automation/blob/18.0/automation_oca/tests/test_js.py

Can you try? Otherwise we can merge

@OCA-git-bot OCA-git-bot added series:18.0 mod:web_widget_pattern Module web_widget_pattern labels Sep 16, 2026
ivs-cetmix added a commit to cetmix/oca-web that referenced this pull request Sep 16, 2026
Temporary reference to the web_widget_pattern HOOT filter fix so this
PR's tests do not leak into that suite. Remove after OCA#3670
is merged.

Task 5613

Co-authored-by: Cursor <cursoragent@cursor.com>
HOOT text filters fuzzy-match other WebWidget* suites. Select this
module with WebSuite hash ids, the same way core and automation_oca
do, so the suite is isolated without a custom URL filter.

Task 5613

Co-authored-by: Cursor <cursoragent@cursor.com>
@ivs-cetmix
ivs-cetmix force-pushed the 18.0-fix-web_widget_pattern branch from 1af30ef to 9ab0edb Compare September 16, 2026 07:44
@ivs-cetmix

Copy link
Copy Markdown
Member Author

It is usually cleaner to use the standard odoo way of defining JS testing

https://github.com/OCA/automation/blob/18.0/automation_oca/tests/test_js.py

Can you try? Otherwise we can merge

@etobella thank's for the hint! Applied it, please check.

@etobella etobella left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🎉

@etobella

Copy link
Copy Markdown
Member

/ocabot merge patch

Fast tracking as this is giving problems to other places

@OCA-git-bot

Copy link
Copy Markdown
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 18.0-ocabot-merge-pr-3670-by-etobella-bump-patch, awaiting test results.

@OCA-git-bot
OCA-git-bot merged commit 245a24a into OCA:18.0 Sep 16, 2026
9 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

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

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.

3 participants