test: e2e sur FreshRSS 1.30.4 (repli, marquage lu au scroll)
Corrige aussi la hauteur repliée (box-sizing: border-box) : le padding de .text s'ajoutait à la hauteur configurée. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
dcacf1acb1
commit
07f936ae80
8 files changed
+272
No files matched your search
Executable
+18
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
# Start (or with --down, stop and wipe) the e2e FreshRSS 1.30.4 environment.
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")"
|
||||
compose=(docker compose -f docker-compose.yml)
|
||||
|
||||
if [[ "${1:-}" == "--down" ]]; then
|
||||
"${compose[@]}" down -v
|
||||
exit 0
|
||||
fi
|
||||
|
||||
"${compose[@]}" up -d --wait
|
||||
run() { "${compose[@]}" exec -T --user www-data freshrss "$@"; }
|
||||
ext=/var/www/FreshRSS/extensions/freshrss-read-more
|
||||
run cli/import-for-user.php --user test --filename "$ext/tests/e2e/fixtures/subscriptions.opml" || true
|
||||
run cli/actualize-user.php --user test
|
||||
run php "$ext/tests/e2e/reset.php" 250
|
||||
echo "FreshRSS e2e ready on http://localhost:8080"
|
||||
Reference in new issue
Block a user