bdd: Add tests for :inspector.
This commit is contained in:
parent
55992337b8
commit
4d1f37f296
@ -100,3 +100,16 @@ Feature: Various utility commands.
|
|||||||
When I open data/hello.txt
|
When I open data/hello.txt
|
||||||
And I run :debug-webaction PermissionUnknown
|
And I run :debug-webaction PermissionUnknown
|
||||||
Then the error "PermissionUnknown is not a valid web action!" should be shown.
|
Then the error "PermissionUnknown is not a valid web action!" should be shown.
|
||||||
|
|
||||||
|
# :inspect
|
||||||
|
|
||||||
|
Scenario: Inspector without developer extras
|
||||||
|
When I set general -> developer-extras to false
|
||||||
|
And I run :inspector
|
||||||
|
Then the error "Please enable developer-extras before using the webinspector!" should be shown.
|
||||||
|
|
||||||
|
Scenario: Inspector smoke test
|
||||||
|
When I set general -> developer-extras to true
|
||||||
|
And I run :inspector
|
||||||
|
And I run :inspector
|
||||||
|
Then no crash should happen
|
||||||
|
Loading…
Reference in New Issue
Block a user