From 5655342d9f3b5ea45f824503fec7178b28c5c2d2 Mon Sep 17 00:00:00 2001 From: Disco DeDisco Date: Thu, 23 Apr 2026 03:12:24 -0400 Subject: [PATCH] CI: add sequential tag for NoteEquipTitleTest; woodpecker runs it w.o --parallel Parallel geckodriver startup race causes a spurious permissions error when NoteEquipTitleTest is the first FT dispatched. @tag("sequential") moves it into test-two-browser-FTs (sequential stage) as a reusable escape hatch. Code architected by Disco DeDisco Git commit message Co-Authored-By: Claude Sonnet 4.6 --- .woodpecker/main.yaml | 1 + src/functional_tests/test_applet_my_notes.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.woodpecker/main.yaml b/.woodpecker/main.yaml index 9a4a9e5..11f6cbc 100644 --- a/.woodpecker/main.yaml +++ b/.woodpecker/main.yaml @@ -42,6 +42,7 @@ steps: - cd ./src - python manage.py collectstatic --noinput - python manage.py test functional_tests --tag=two-browser + - python manage.py test functional_tests --tag=sequential - python manage.py test functional_tests --tag=channels when: - event: push diff --git a/src/functional_tests/test_applet_my_notes.py b/src/functional_tests/test_applet_my_notes.py index 2d88a93..18d49d2 100644 --- a/src/functional_tests/test_applet_my_notes.py +++ b/src/functional_tests/test_applet_my_notes.py @@ -16,6 +16,7 @@ T2 (Dashboard full flow) is split across three focused tests: """ import json as _json +from django.test import tag from django.utils import timezone from selenium.webdriver.common.by import By @@ -404,6 +405,7 @@ class StargazerNoteFromSkyPageTest(FunctionalTest): # Title equip — DON/DOFF buttons on the note item # ────────────────────────────────────────────────────────────────────────────── +@tag("sequential") class NoteEquipTitleTest(FunctionalTest): """DON button equips the note title as the sitewide greeting; DOFF restores it."""