aboutsummaryrefslogtreecommitdiff
path: root/tests
diff refs
from:
to:
diff options
context:
space:
mode:
authorGravatar Saya Andy <saya.andy@posteo.com> 2026-09-07 14:07:24 +0700
committerGravatar Saya Andy <saya.andy@posteo.com> 2026-09-07 14:35:13 +0700
commit8f95dce3ece6eccf240ed0b994fb267bf390bf30 (patch)
tree35aeb1ecc32023777252954f7a984bce7bf47a40 /tests
parent61aa4378441859ed2851db01d5d1b01ed1aa2458 (diff)
downloadcgitext-8f95dce3ece6eccf240ed0b994fb267bf390bf30.tar.gz
cgitext-8f95dce3ece6eccf240ed0b994fb267bf390bf30.zip
diff: split refs and other options into separate panelsHEADv1.3.1+14masterdevelop
The diff controls panel mixed the from/to ref pickers with the rendering options (context, space, mode). Split it into two panels, stacked vertically: one for the refs and one for the other options, so each groups related controls.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/t0106-diff.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/t0106-diff.sh b/tests/t0106-diff.sh
index 0c167d4..e4751e9 100755
--- a/tests/t0106-diff.sh
+++ b/tests/t0106-diff.sh
@@ -32,6 +32,11 @@ test_expect_success 'ref picker: to: label present' '
grep "to:" tmp
'
+test_expect_success 'ref pickers live in a separate refs panel' '
+ grep "<b>diff refs</b>" tmp &&
+ grep "<b>diff options</b>" tmp
+'
+
test_expect_success 'ref picker: master branch listed' '
grep "master" tmp
'