Delete broken :debug-log-{filter,level} tests
This commit is contained in:
parent
bd6f4ae7c0
commit
37758131f5
@ -604,26 +604,10 @@ Feature: Various utility commands.
|
|||||||
- data/click_element.html
|
- data/click_element.html
|
||||||
- data/hello.txt (active)
|
- data/hello.txt (active)
|
||||||
|
|
||||||
## logfilter
|
# :debug-log-level
|
||||||
|
# Other :debug-log-{level,filter} features are tested in
|
||||||
Scenario: Using :debug-log-filter with commands argument
|
# unit/utils/test_log.py as using them would break end2end tests.
|
||||||
When I run :debug-log-filter commands
|
|
||||||
And I run :message-info "Hello World"
|
|
||||||
Then the message "Hello World" should be shown
|
|
||||||
|
|
||||||
Scenario: Using debug-log-filter with invalid filter
|
|
||||||
When I run :debug-log-filter hello
|
|
||||||
Then the error "Invalid argument, hello choose from statusbar,completion,init,url,destroy,modes,webview,misc,mouse,procs,hints,keyboard,commands,signals,downloads,js,qt,rfc6266,ipc,shlexer,save,message,config,sessions" should be shown
|
|
||||||
|
|
||||||
Scenario: Using debug-log-level with invalid level
|
Scenario: Using debug-log-level with invalid level
|
||||||
When I run :debug-log-level hello
|
When I run :debug-log-level hello
|
||||||
Then the error "Invalid value hello - expected one of: debug,
|
Then the error "Invalid value hello - expected one of: debug, error, vdebug, info, warning, critical" should be shown
|
||||||
error, vdebug, info, warning, critical" should be shown
|
|
||||||
|
|
||||||
Scenario: :debug-log-level with warning argument
|
|
||||||
When I run :message-error the-error-message
|
|
||||||
And I run :message-warning the-warning-message
|
|
||||||
And I run :message-info the-info-message
|
|
||||||
And I run :debug-log-level warning
|
|
||||||
Then the error "the-error-message" should be shown
|
|
||||||
And the warning "the-warning-message" should be shown
|
|
||||||
|
Loading…
Reference in New Issue
Block a user