summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2022-07-17 11:51:21 +0200
committerFlorian Bruhin <me@the-compiler.org>2022-07-17 11:51:21 +0200
commit418f91dfcd2955e32721eb718c278b38696fd1d5 (patch)
tree3e98fd8b51f77aed3099692a9df6a662a84e87ef
parent8f3011e26122939fad9080c7b0fa241521efb8fb (diff)
downloadqutebrowser-418f91dfcd2955e32721eb718c278b38696fd1d5.tar.gz
qutebrowser-418f91dfcd2955e32721eb718c278b38696fd1d5.zip
tests: Remove trailing periods in feature files
Breaks after https://github.com/pytest-dev/pytest-bdd/pull/539
-rw-r--r--tests/end2end/features/caret.feature12
-rw-r--r--tests/end2end/features/tabs.feature8
2 files changed, 10 insertions, 10 deletions
diff --git a/tests/end2end/features/caret.feature b/tests/end2end/features/caret.feature
index 5bb0383e7..cc6b261ef 100644
--- a/tests/end2end/features/caret.feature
+++ b/tests/end2end/features/caret.feature
@@ -12,26 +12,26 @@ Feature: Caret mode
Scenario: :yank selection without selection
When I run :yank selection
- Then the message "Nothing to yank" should be shown.
+ Then the message "Nothing to yank" should be shown
Scenario: :yank selection message
When I run :selection-toggle
And I run :move-to-end-of-word
And I run :yank selection
- Then the message "3 chars yanked to clipboard" should be shown.
+ Then the message "3 chars yanked to clipboard" should be shown
Scenario: :yank selection message with one char
When I run :selection-toggle
And I run :move-to-next-char
And I run :yank selection
- Then the message "1 char yanked to clipboard" should be shown.
+ Then the message "1 char yanked to clipboard" should be shown
Scenario: :yank selection with primary selection
When selection is supported
And I run :selection-toggle
And I run :move-to-end-of-word
And I run :yank selection --sel
- Then the message "3 chars yanked to primary selection" should be shown.
+ Then the message "3 chars yanked to primary selection" should be shown
And the primary selection should contain "one"
Scenario: :yank selection with --keep
@@ -40,8 +40,8 @@ Feature: Caret mode
And I run :yank selection --keep
And I run :move-to-end-of-word
And I run :yank selection --keep
- Then the message "3 chars yanked to clipboard" should be shown.
- And the message "7 chars yanked to clipboard" should be shown.
+ Then the message "3 chars yanked to clipboard" should be shown
+ And the message "7 chars yanked to clipboard" should be shown
And the clipboard should contain "one two"
# :selection-follow
diff --git a/tests/end2end/features/tabs.feature b/tests/end2end/features/tabs.feature
index 54e84a10e..cc170d650 100644
--- a/tests/end2end/features/tabs.feature
+++ b/tests/end2end/features/tabs.feature
@@ -512,7 +512,7 @@ Feature: Tab management
And I open data/numbers/2.txt in a new tab
And I open data/numbers/3.txt in a new tab
And I run :tab-move with count 23
- Then the error "Can't move tab to position 23!" should be shown.
+ Then the error "Can't move tab to position 23!" should be shown
And the following tabs should be open:
- data/numbers/1.txt
- data/numbers/2.txt
@@ -543,7 +543,7 @@ Feature: Tab management
And I open data/numbers/2.txt in a new tab
And I open data/numbers/3.txt in a new tab
And I run :tab-move -5
- Then the error "Can't move tab to position -1!" should be shown.
+ Then the error "Can't move tab to position -1!" should be shown
And the following tabs should be open:
- data/numbers/1.txt
- data/numbers/2.txt
@@ -564,7 +564,7 @@ Feature: Tab management
And I open data/numbers/2.txt in a new tab
And I open data/numbers/3.txt in a new tab
And I run :tab-move -2 with count 4
- Then the error "Can't move tab to position 4!" should be shown.
+ Then the error "Can't move tab to position 4!" should be shown
And the following tabs should be open:
- data/numbers/1.txt
- data/numbers/2.txt
@@ -674,7 +674,7 @@ Feature: Tab management
Scenario: :tab-clone with -b and -w
When I run :tab-clone -b -w
- Then the error "Only one of -b/-w/-p can be given!" should be shown.
+ Then the error "Only one of -b/-w/-p can be given!" should be shown
Scenario: Cloning a tab with history and title
When I open data/title.html