bdd: Add tests for :inspector.

This commit is contained in:
Florian Bruhin 2015-11-18 20:08:25 +01:00
parent 55992337b8
commit 4d1f37f296

View File

@ -100,3 +100,16 @@ Feature: Various utility commands.
When I open data/hello.txt
And I run :debug-webaction PermissionUnknown
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