From beb6d1b549c1b0676916f5105f11858c1896beef Mon Sep 17 00:00:00 2001 From: William Jacoby Date: Fri, 20 Nov 2026 12:15:45 -0600 Subject: [PATCH] Add Author Column screenshots Takes phpbbmodders/authorcolumn's forum topic list, Active topics search results and the same forum on a phone, on a board with seed-forum's standard fixtures. Co-Authored-By: Claude Opus 5.5 --- phpbb-test-board/screenshots.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/phpbb-test-board/screenshots.py b/phpbb-test-board/screenshots.py index 287150f..dd7f9bd 100755 --- a/phpbb-test-board/screenshots.py +++ b/phpbb-test-board/screenshots.py @@ -1165,6 +1165,21 @@ def first_post_only(p) -> None: admin=True) +def shots_authorcolumn(board: Board, shoot: Shooter, args: argparse.Namespace) -> None: + """phpbbmodders/authorcolumn: the Author column in a forum's topic list and in topic search results, + and the same forum on a phone, where the column is hidden. + + Needs a board with forums and topics: run with --seed and seed-forum's + bin/seed-standard-fixtures.php. The search shot is Active topics: the + fixtures are posted during the run, so every topic is in it. + """ + forum, _ = busiest_forum_and_topic(board) + + shoot.shot("authorcolumn-viewforum", f"viewforum.php?f={forum}", selector="#page-body") + shoot.shot("authorcolumn-search", "search.php?search_id=active_topics", selector="#page-body") + shoot.shot("authorcolumn-viewforum-phone", f"viewforum.php?f={forum}", phone=True) + + def shots_printallposts(board: Board, shoot: Shooter, args: argparse.Namespace) -> None: """phpbbmodders/printallposts: the Print all link in the Topic tools menu and the page it opens. @@ -1646,6 +1661,7 @@ def transfer(topic: int, data: dict) -> str: "phpbbmodders/prunenotifications": shots_prunenotifications, "phpbbmodders/seenotes": shots_seenotes, "phpbbmodders/adduser": shots_adduser, + "phpbbmodders/authorcolumn": shots_authorcolumn, "phpbbmodders/autodbbackup": shots_autodbbackup, "phpbbmodders/contactadmin": shots_contactadmin, "phpbbmodders/elonw": shots_elonw,