Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Run the user message timestamp Playwright check in Frontend CI (#12255)

Daniel Han529a6a7d55d6
diff --git a/.github/workflows/studio-frontend-ci.yml b/.github/workflows/studio-frontend-ci.yml
index e02885dc434..880a9d7a7eb 100644
--- a/.github/workflows/studio-frontend-ci.yml
+++ b/.github/workflows/studio-frontend-ci.yml
@@ -34,6 +34,7 @@ on:
- 'tests/studio/playwright_stream_pacing.py'
- 'tests/studio/playwright_code_block_flicker.py'
- 'tests/studio/playwright_link_definition_probe.py'
+ - 'tests/studio/playwright_user_message_time.py'
- 'tests/studio/_code_block_flicker_analysis.py'
- 'tests/studio/test_code_block_flicker_contract.py'
# Shared lifecycle helpers, and the contract tests that keep verdicts from going unread.
@@ -72,6 +73,7 @@ on:
- 'tests/studio/playwright_stream_pacing.py'
- 'tests/studio/playwright_code_block_flicker.py'
- 'tests/studio/playwright_link_definition_probe.py'
+ - 'tests/studio/playwright_user_message_time.py'
- 'tests/studio/_code_block_flicker_analysis.py'
- 'tests/studio/test_code_block_flicker_contract.py'
- 'tests/studio/_playwright_robust.py'
@@ -469,6 +471,16 @@ jobs:
working-directory: ${{ github.workspace }}
run: python3 tests/studio/playwright_link_definition_probe.py
+ # Added by #12173 and left unrun until now, which
+ # tests/studio/test_playwright_suites_run_in_ci.py failed on. It serves its own fixture
+ # (studio/frontend/tests/fixtures/user-message-time) from vite, so it needs only the
+ # npm ci above and Chromium. Reverting either #12173's user-message-time.tsx or its
+ # index.css sentinel rule fails it, so this is a gate and not a smoke that always passes.
+ - name: Browser check for user message timestamps
+ working-directory: ${{ github.workspace }}
+ timeout-minutes: 5
+ run: python3 tests/studio/playwright_user_message_time.py
+
# Two small sizes and one repetition on Chromium: enough to prove the fixture still
# renders every kind of content it claims to and that the curve still rises, which is all
# a PR gate can afford. The measurement this harness exists for is the three-engine,