diff --git a/tests/end2end/features/navigate.feature b/tests/end2end/features/navigate.feature index b5ad6ff54..a7cd7fbd4 100644 --- a/tests/end2end/features/navigate.feature +++ b/tests/end2end/features/navigate.feature @@ -76,7 +76,8 @@ Feature: Using :navigate Then data/navigate/next.html should be loaded Scenario: Navigating with invalid selector - When I set hints.selectors to {"links": ["@"]} + When I open data/navigate + And I set hints.selectors to {"links": ["@"]} And I run :navigate next Then the error "SyntaxError: Failed to execute 'querySelectorAll' on 'Document': '@' is not a valid selector." should be shown