From 288744c8d0554e8bda7162f6edfd9ebb6391fe08 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 9 Jun 2016 10:48:01 +0200 Subject: [PATCH] Use BDD test for link with spaces issue Clicking actually works fine without the strip() as _resolve_url is never called in that case, so we need to do something which actually needs the URL as well. --- tests/end2end/features/hints.feature | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/end2end/features/hints.feature b/tests/end2end/features/hints.feature index 2e2aa986d..1d5032a0d 100644 --- a/tests/end2end/features/hints.feature +++ b/tests/end2end/features/hints.feature @@ -107,6 +107,12 @@ Feature: Using hints And the javascript message "bop!" should be logged And the javascript message "boop!" should be logged + Scenario: Using :hint run with an URL containing spaces + When I open data/hints/html/with_spaces.html + And I run :hint all run message-info {hint-url} + And I run :follow-hint a + Then the message "http://localhost:(port)/data/hello.txt" should be shown + ### iframes Scenario: Using :follow-hint inside an iframe