Skip to content

Commit 07dd42f

Browse files
committed
Update docs and tests for new controller classes
Added InputBookmarkButton to documentation config. Expanded CONTROLLER_BASE_PATTERNS in test_controller_documentation.py to skip additional UI-related base classes.
1 parent dd66a04 commit 07dd42f

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

docs/_quartodoc-testing.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ quartodoc:
2626
contents:
2727
- playwright.controller.InputActionButton
2828
- playwright.controller.InputActionLink
29+
- playwright.controller.InputBookmarkButton
2930
- playwright.controller.InputCheckbox
3031
- playwright.controller.InputCheckboxGroup
3132
- playwright.controller.InputDarkMode

tests/pytest/test_controller_documentation.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,17 @@ class ControllerDocumentationChecker:
1313
DOCS_CONFIG = Path("docs/_quartodoc-testing.yml")
1414

1515
SKIP_PATTERNS = {"Base", "Container", "Label", "StyleM"}
16-
CONTROLLER_BASE_PATTERNS = {"Base", "Container", "Label", "StyleM", "WidthLocM"}
16+
CONTROLLER_BASE_PATTERNS = {
17+
"Base",
18+
"Container",
19+
"Label",
20+
"StyleM",
21+
"WidthLocM",
22+
"InputActionButton",
23+
"UiBase",
24+
"UiWithLabel",
25+
"UiWithContainer",
26+
}
1727

1828
def get_controller_classes(self) -> Set[str]:
1929
"""Extract public controller class names from the controller directory."""

0 commit comments

Comments
 (0)