test: Chat-Oberfläche als Chromium-Regressionstest, alte Browsertests repariert, JS-Tests in der CI (A8, #1195, #1196)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GmHhg7qE8FdhchzsBrwgjZ
This commit is contained in:
2026-11-22 10:21:10 +01:00
parent 6c4a4436ff
commit e2164a17f3
7 changed files with 108 additions and 18 deletions

View File

@ -1,4 +1,4 @@
# Prüfung bei jedem Push auf einen Branch: Format, clippy, Rust-Tests, SDK-Tests (→ #1067).
# Prüfung bei jedem Push auf einen Branch: Format, clippy, Rust-Tests, JS-Tests, SDK-Tests (→ #1067).
# Läuft auf dem Runner `nexus-runner` (Label `nexus`, nur für dieses Repository).
# Bewusst KEIN Auslöser `pull_request`: Das Repository ist öffentlich, und der Runner hat den Docker-Socket.
# Code aus fremden Forks darf dort nicht laufen.
@ -19,7 +19,7 @@ jobs:
run: |
SUDO=""; [ "$(id -u)" -ne 0 ] && SUDO="sudo"
$SUDO apt-get update -qq
$SUDO apt-get install -y -qq musl-tools python3-venv
$SUDO apt-get install -y -qq musl-tools python3-venv nodejs
curl -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal -c clippy,rustfmt -t x86_64-unknown-linux-musl
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
@ -32,6 +32,12 @@ jobs:
- name: Rust-Tests
run: cargo test --workspace
# Reine Funktionen der Oberfläche (Ortszeit und Tabellen, Markdown der Chat-Antworten), ohne Browser (#1195, A8).
- name: JS-Tests
run: |
node tests/js/markdown.test.mjs
TZ=Europe/Berlin node tests/js/tabellen.test.mjs
- name: SDK-Tests
run: |
python3 -m venv .venv