From 4d1f37f296957a91d996fe2d40626188ac062f38 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 18 Nov 2015 20:08:25 +0100 Subject: [PATCH] bdd: Add tests for :inspector. --- tests/integration/features/misc.feature | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/tests/integration/features/misc.feature b/tests/integration/features/misc.feature index 4695def24..85c058334 100644 --- a/tests/integration/features/misc.feature +++ b/tests/integration/features/misc.feature @@ -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