Show error instead of warning
This commit is contained in:
parent
f1f573d651
commit
ce46b30a1e
@ -1645,7 +1645,7 @@ class CommandDispatcher:
|
||||
try:
|
||||
elem.set_value(text)
|
||||
except webelem.OrphanedError as e:
|
||||
message.warning('Edited element vanished')
|
||||
message.error('Edited element vanished')
|
||||
except webelem.Error as e:
|
||||
raise cmdexc.CommandError(str(e))
|
||||
|
||||
|
@ -126,7 +126,7 @@ Feature: Opening external editors
|
||||
And I set tabs.last_close to blank
|
||||
And I run :tab-close
|
||||
And I kill the waiting editor
|
||||
Then the warning "Edited element vanished" should be shown
|
||||
Then the error "Edited element vanished" should be shown
|
||||
|
||||
@qtwebengine_todo: Caret mode is not implemented yet
|
||||
Scenario: Spawning an editor in caret mode
|
||||
|
Loading…
Reference in New Issue
Block a user