Add a modeline to all the *.feature files
This really tripped me up yesterday, My "Vim default" is to use tabs. This (where `!···` is a tab) does not work as you'll hope it works: Scenario: Retrying a failed download when the directory didn't exist (issue 2445) When I download http://localhost:(port)/data/downloads/download.bin to <path> And I wait for the error "Download error: No such file or directory: *" And I make the directory <mkdir> And I run :download-retry !···!···And I wait until the download is finished Then the downloaded file <expected> should exist Examples: | path | mkdir | expected | | asd/zxc/ | asd/zxc | asd/zxc/download.bin | Unfortunately, pytest-bdd uses the "Python 2 behaviour" of "expand all tabs to 8 spaces", and doesn't give any errors on strange/inconsistent whitespace. It can cause very confusing errors.
This commit is contained in:
parent
6939f81de7
commit
8af5cfb4ac
@ -1,3 +1,5 @@
|
||||
# vim: ft=cucumber fileencoding=utf-8 sts=4 sw=4 et:
|
||||
|
||||
Feature: Ad blocking
|
||||
|
||||
Scenario: Simple adblock update
|
||||
|
@ -1,3 +1,5 @@
|
||||
# vim: ft=cucumber fileencoding=utf-8 sts=4 sw=4 et:
|
||||
|
||||
Feature: Going back and forward.
|
||||
Testing the :back/:forward commands.
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
# vim: ft=cucumber fileencoding=utf-8 sts=4 sw=4 et:
|
||||
|
||||
Feature: Caret mode
|
||||
In caret mode, the user can select and yank text using the keyboard.
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
# vim: ft=cucumber fileencoding=utf-8 sts=4 sw=4 et:
|
||||
|
||||
Feature: Using completion
|
||||
|
||||
Scenario: No warnings when completing with one entry (#1600)
|
||||
|
@ -1,3 +1,5 @@
|
||||
# vim: ft=cucumber fileencoding=utf-8 sts=4 sw=4 et:
|
||||
|
||||
Feature: Downloading things from a website.
|
||||
|
||||
Background:
|
||||
|
@ -1,3 +1,5 @@
|
||||
# vim: ft=cucumber fileencoding=utf-8 sts=4 sw=4 et:
|
||||
|
||||
Feature: Opening external editors
|
||||
|
||||
## :edit-url
|
||||
|
@ -1,3 +1,5 @@
|
||||
# vim: ft=cucumber fileencoding=utf-8 sts=4 sw=4 et:
|
||||
|
||||
Feature: Using hints
|
||||
|
||||
# https://bugreports.qt.io/browse/QTBUG-58381
|
||||
|
@ -1,3 +1,5 @@
|
||||
# vim: ft=cucumber fileencoding=utf-8 sts=4 sw=4 et:
|
||||
|
||||
Feature: Page history
|
||||
|
||||
Make sure the global page history is saved correctly.
|
||||
|
@ -1,3 +1,5 @@
|
||||
# vim: ft=cucumber fileencoding=utf-8 sts=4 sw=4 et:
|
||||
|
||||
Feature: Invoking a new process
|
||||
Simulate what happens when running qutebrowser with an existing instance
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
# vim: ft=cucumber fileencoding=utf-8 sts=4 sw=4 et:
|
||||
|
||||
Feature: Javascript stuff
|
||||
|
||||
Integration with javascript.
|
||||
|
@ -1,3 +1,5 @@
|
||||
# vim: ft=cucumber fileencoding=utf-8 sts=4 sw=4 et:
|
||||
|
||||
Feature: Keyboard input
|
||||
|
||||
Tests for :bind and :unbind, :clear-keychain and other keyboard input
|
||||
|
@ -1,3 +1,5 @@
|
||||
# vim: ft=cucumber fileencoding=utf-8 sts=4 sw=4 et:
|
||||
|
||||
Feature: Setting positional marks
|
||||
|
||||
Background:
|
||||
|
@ -1,3 +1,5 @@
|
||||
# vim: ft=cucumber fileencoding=utf-8 sts=4 sw=4 et:
|
||||
|
||||
Feature: Various utility commands.
|
||||
|
||||
## :set-cmd-text
|
||||
|
@ -1,3 +1,5 @@
|
||||
# vim: ft=cucumber fileencoding=utf-8 sts=4 sw=4 et:
|
||||
|
||||
Feature: Using :navigate
|
||||
|
||||
Scenario: :navigate with invalid argument
|
||||
|
@ -1,3 +1,5 @@
|
||||
# vim: ft=cucumber fileencoding=utf-8 sts=4 sw=4 et:
|
||||
|
||||
Feature: Opening pages
|
||||
|
||||
Scenario: :open with URL
|
||||
|
@ -1,3 +1,5 @@
|
||||
# vim: ft=cucumber fileencoding=utf-8 sts=4 sw=4 et:
|
||||
|
||||
Feature: Prompts
|
||||
Various prompts (javascript, SSL errors, authentification, etc.)
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
# vim: ft=cucumber fileencoding=utf-8 sts=4 sw=4 et:
|
||||
|
||||
Feature: Scrolling
|
||||
Tests the various scroll commands.
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
# vim: ft=cucumber fileencoding=utf-8 sts=4 sw=4 et:
|
||||
|
||||
Feature: Searching on a page
|
||||
Searching text on the page (like /foo) with different options.
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
# vim: ft=cucumber fileencoding=utf-8 sts=4 sw=4 et:
|
||||
|
||||
Feature: Saving and loading sessions
|
||||
|
||||
Background:
|
||||
|
@ -1,3 +1,5 @@
|
||||
# vim: ft=cucumber fileencoding=utf-8 sts=4 sw=4 et:
|
||||
|
||||
Feature: Setting settings.
|
||||
|
||||
Background:
|
||||
|
@ -1,3 +1,5 @@
|
||||
# vim: ft=cucumber fileencoding=utf-8 sts=4 sw=4 et:
|
||||
|
||||
Feature: :spawn
|
||||
|
||||
Scenario: Running :spawn
|
||||
|
@ -1,3 +1,5 @@
|
||||
# vim: ft=cucumber fileencoding=utf-8 sts=4 sw=4 et:
|
||||
|
||||
Feature: Tab management
|
||||
Tests for various :tab-* commands.
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
# vim: ft=cucumber fileencoding=utf-8 sts=4 sw=4 et:
|
||||
|
||||
Feature: quickmarks and bookmarks
|
||||
|
||||
## bookmarks
|
||||
|
@ -1,3 +1,5 @@
|
||||
# vim: ft=cucumber fileencoding=utf-8 sts=4 sw=4 et:
|
||||
|
||||
Feature: Miscellaneous utility commands exposed to the user.
|
||||
|
||||
Background:
|
||||
|
@ -1,3 +1,5 @@
|
||||
# vim: ft=cucumber fileencoding=utf-8 sts=4 sw=4 et:
|
||||
|
||||
Feature: Yanking and pasting.
|
||||
:yank, {clipboard} and {primary} can be used to copy/paste the URL or title
|
||||
from/to the clipboard and primary selection.
|
||||
|
@ -1,3 +1,5 @@
|
||||
# vim: ft=cucumber fileencoding=utf-8 sts=4 sw=4 et:
|
||||
|
||||
Feature: Zooming in and out
|
||||
|
||||
Background:
|
||||
|
Loading…
Reference in New Issue
Block a user