Skip to content

Commit c9e5c8c

Browse files
[FIX] web_widget_pattern: isolate HOOT filter
HOOT fuzzy-matches filter=WebWidgetPattern against other WebWidget* suites, so autocomplete HOOT tests ran inside this module's browser job and could fail or leave most of their own suite unexecuted. Use a regex filter so only this suite is selected. Task 5613 Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent a4589e8 commit c9e5c8c

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

web_widget_pattern/tests/test_web_widget_pattern.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,11 @@ def test_fields_get(self):
1717
@tagged("post_install", "-at_install")
1818
class TestWebWidgetPatternHoot(HttpCase):
1919
def test_js(self):
20+
# Regex (not a fuzzy text filter): HOOT otherwise matches
21+
# other WebWidget* suites such as web_widget_autocomplete.
2022
self.browser_js(
21-
"/web/tests?headless&loglevel=2&preset=desktop&filter=WebWidgetPattern",
23+
"/web/tests?headless&loglevel=2&preset=desktop"
24+
"&filter=/WebWidgetPattern/",
2225
"",
2326
"",
2427
login="admin",

0 commit comments

Comments
 (0)