mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
contrib: pick: test: refresh view
A recent proposed patch was buggy when refreshing the view. Add a test for refresh so that this does not reoccur.
This commit is contained in:
parent
95ee9ed643
commit
e1e7b6fd2e
1 changed files with 11 additions and 0 deletions
|
@ -23,6 +23,17 @@ test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")
|
|||
(delete-other-windows)'
|
||||
test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox
|
||||
|
||||
test_begin_subtest "Refreshed notmuch-pick view in emacs"
|
||||
test_emacs '(add-to-list (quote load-path) "'$PICK_DIR'")
|
||||
(require (quote notmuch-pick))
|
||||
(notmuch-pick "tag:inbox")
|
||||
(notmuch-test-wait)
|
||||
(notmuch-pick-refresh-view)
|
||||
(notmuch-test-wait)
|
||||
(test-output)
|
||||
(delete-other-windows)'
|
||||
test_expect_equal_file OUTPUT $EXPECTED/notmuch-pick-tag-inbox
|
||||
|
||||
test_begin_subtest "Navigation of notmuch-hello to search results"
|
||||
test_emacs '(notmuch-hello)
|
||||
(goto-char (point-min))
|
||||
|
|
Loading…
Reference in a new issue