aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2025-06-15 17:12:34 -0300
committerDavid Bremner <david@tethera.net>2026-01-15 07:50:04 +0900
commitf66b672128262025afa474e4a86f62ca066d4862 (patch)
treea448ea858277eacf61a43cc39eca68d44ada8abd /test
parent7d2d899058ac41b97879974847a79d542e5e91b3 (diff)
test/emacs: known broken test for excludes and notmuch-hello
One of the places notmuch-search is called did not get the new 'hide-excluded' argument.
Diffstat (limited to 'test')
-rwxr-xr-xtest/T461-emacs-search-exclude.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/T461-emacs-search-exclude.sh b/test/T461-emacs-search-exclude.sh
index 821dd49f..5aa13370 100755
--- a/test/T461-emacs-search-exclude.sh
+++ b/test/T461-emacs-search-exclude.sh
@@ -36,6 +36,19 @@ test_emacs '(notmuch-hello)
(delete-other-windows)'
test_expect_equal_file $EXPECTED/notmuch-search-tag-inbox-without-excluded OUTPUT
+test_begin_subtest "Search from search box doesn't contain excluded mail by default"
+test_subtest_known_broken
+test_emacs '(notmuch-hello)
+ (goto-char (point-min))
+ (re-search-forward "Search:")
+ (forward-char 1)
+ (insert "tag:inbox")
+ (widget-field-activate (point))
+ (notmuch-test-wait)
+ (test-output)
+ (delete-other-windows)'
+test_expect_equal_file $EXPECTED/notmuch-search-tag-inbox-without-excluded OUTPUT
+
test_begin_subtest "Toggling exclude in search will show excluded mail"
test_emacs '(notmuch-hello)
(goto-char (point-min))