tests: Update logged messages

This commit is contained in:
Florian Bruhin 2020-07-20 14:40:53 +02:00
parent 9bcf0b2369
commit a34d392fe1
2 changed files with 3 additions and 3 deletions

View File

@ -458,14 +458,14 @@ Feature: Using hints
When I open data/hints/html/wrapped.html
And I hint with args "all"
And I run :reload
Then "Leaving mode KeyMode.hint (reason: load started)" should be logged
Then "Leaving mode KeyMode.hint (reason: new page loaded)" should be logged
Scenario: Leaving hint mode on reload without leave_on_load
When I set hints.leave_on_load to false
And I open data/hints/html/simple.html
And I hint with args "all"
And I run :reload
Then "Leaving mode KeyMode.hint (reason: load started)" should not be logged
Then "Leaving mode KeyMode.hint (reason: new page loaded)" should not be logged
### hints.auto_follow option

View File

@ -120,4 +120,4 @@ def test_auto_leave_insert_mode_delayed_load(quteproc):
quteproc.open_path('delayed-image-continue', new_bg_tab=True)
quteproc.ensure_not_logged(message='Leaving mode KeyMode.insert '
'(reason: load started)')
'(reason: new page loaded)')