pytest-bdd 8: Fix comments and remaining syntax issues
Looks like inline comments are not permitted anymore.
This commit is contained in:
parent
a8a5068e62
commit
f4260a6e55
|
|
@ -50,7 +50,7 @@ Feature: Going back and forward.
|
|||
When I run :tab-only
|
||||
And I run :back -t
|
||||
Then the error "At beginning of history." should be shown
|
||||
Then the session should look like:
|
||||
And the session should look like:
|
||||
"""
|
||||
windows:
|
||||
- tabs:
|
||||
|
|
|
|||
|
|
@ -12,7 +12,8 @@ Feature: Notifications
|
|||
When I run :click-element id show-button
|
||||
Then the javascript message "notification shown" should be logged
|
||||
And 1 notification should be presented
|
||||
And the notification should have image dimensions 64x64 # qutebrowser logo
|
||||
# qutebrowser logo
|
||||
And the notification should have image dimensions 64x64
|
||||
|
||||
Scenario: Notification containing escaped characters
|
||||
Given the notification server supports body markup
|
||||
|
|
@ -90,7 +91,8 @@ Feature: Notifications
|
|||
And the javascript message "i=3 notification shown" should be logged
|
||||
And "Ignoring notification tag 'counter' due to PyQt bug" should be logged
|
||||
And 3 notifications should be presented
|
||||
And the notification should have title "i=3" # last one
|
||||
# last one
|
||||
And the notification should have title "i=3"
|
||||
|
||||
@pyqtwebengine>=5.15.0
|
||||
Scenario: User closes presented notification
|
||||
|
|
|
|||
|
|
@ -113,7 +113,8 @@ Feature: Searching on a page
|
|||
When I set search.ignore_case to smart
|
||||
And I run :search Foo
|
||||
And I wait for "search found Foo with flags FindCaseSensitively" in the log
|
||||
Then "Foo" should be found # even though foo was first
|
||||
# even though foo was first
|
||||
Then "Foo" should be found
|
||||
|
||||
## :search-next
|
||||
|
||||
|
|
|
|||
|
|
@ -278,12 +278,12 @@ Feature: Yanking and pasting.
|
|||
"""
|
||||
|
||||
Scenario: Pasting multiple urls with an empty one
|
||||
And I put "http://localhost:(port)/data/hello.txt\n\nhttp://localhost:(port)/data/hello2.txt" into the clipboard
|
||||
When I put "http://localhost:(port)/data/hello.txt\n\nhttp://localhost:(port)/data/hello2.txt" into the clipboard
|
||||
And I run :open -t {clipboard}
|
||||
Then no crash should happen
|
||||
|
||||
Scenario: Pasting multiple urls with an almost empty one
|
||||
And I put "http://localhost:(port)/data/hello.txt\n \nhttp://localhost:(port)/data/hello2.txt" into the clipboard
|
||||
When I put "http://localhost:(port)/data/hello.txt\n \nhttp://localhost:(port)/data/hello2.txt" into the clipboard
|
||||
And I run :open -t {clipboard}
|
||||
Then no crash should happen
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue