Load navigate page properly

This commit is contained in:
Florian Bruhin 2018-10-16 10:26:34 +02:00
parent 17924de37c
commit b7c1d04c88

View File

@ -76,7 +76,8 @@ Feature: Using :navigate
Then data/navigate/next.html should be loaded Then data/navigate/next.html should be loaded
Scenario: Navigating with invalid selector 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 And I run :navigate next
Then the error "SyntaxError: Failed to execute 'querySelectorAll' on 'Document': '@' is not a valid selector." should be shown Then the error "SyntaxError: Failed to execute 'querySelectorAll' on 'Document': '@' is not a valid selector." should be shown