Add quteurls.feature

Move Scenario: Open qute://version from misc.feature to quteurls.feature
See #2779.
This commit is contained in:
Ryan Roden-Corrent 2017-08-27 22:37:04 -04:00
parent 37ba256900
commit 61a03a7808
3 changed files with 28 additions and 6 deletions

View File

@ -532,9 +532,3 @@ Feature: Various utility commands.
And I wait for "Renderer process was killed" in the log
And I open data/numbers/3.txt
Then no crash should happen
## Other
Scenario: Open qute://version
When I open qute://version
Then the page should contain the plaintext "Version info"

View File

@ -0,0 +1,7 @@
# vim: ft=cucumber fileencoding=utf-8 sts=4 sw=4 et:
Feature: qute://* urls.
Scenario: Open qute://version
When I open qute://version
Then the page should contain the plaintext "Version info"

View File

@ -0,0 +1,21 @@
# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et:
# Copyright 2017 Ryan Roden-Corrent (rcorre) <ryan@rcorre.net>
#
# This file is part of qutebrowser.
#
# qutebrowser is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# qutebrowser is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with qutebrowser. If not, see <http://www.gnu.org/licenses/>.
import pytest_bdd as bdd
bdd.scenarios('quteurls.feature')