diff --git a/tests/integration/features/hints.feature b/tests/integration/features/hints.feature index 982fb57ef..3f6fab924 100644 --- a/tests/integration/features/hints.feature +++ b/tests/integration/features/hints.feature @@ -20,7 +20,7 @@ Feature: Using hints Then the error "No hint xyz!" should be shown Scenario: Following a hint and force to open in current tab. - When I open data/hints/link.html + When I open data/hints/link_blank.html And I run :hint links current And I run :follow-hint a And I wait until data/hello.txt is loaded @@ -35,3 +35,12 @@ Feature: Using hints Then the following tabs should be open: - data/hints/link_blank.html - data/hello.txt (active) + + Scenario: Following a hint to link with sub-element and force to open in current tab. + When I open data/hints/link_span.html + And I run :tab-close + And I run :hint links current + And I run :follow-hint a + And I wait until data/hello.txt is loaded + Then the following tabs should be open: + - data/hello.txt (active)