summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Albrecht <palbrecht@mailbox.org>2023-08-23 09:26:07 +0200
committerPhilipp Albrecht <palbrecht@mailbox.org>2023-08-23 09:26:07 +0200
commit42dfc82fb875a7cbeb15cdf10f00deaf01dd921e (patch)
treec5d1b55383121fbf5fd7d6330298e4a2acf4467b
parent853a1b9d60953e61931bd1ac2d3c9c3892f96609 (diff)
downloadqutebrowser-42dfc82fb875a7cbeb15cdf10f00deaf01dd921e.tar.gz
qutebrowser-42dfc82fb875a7cbeb15cdf10f00deaf01dd921e.zip
Use (testdata) in "I open {path}" BDD step
-rw-r--r--tests/end2end/features/conftest.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/end2end/features/conftest.py b/tests/end2end/features/conftest.py
index 9dd497c0b..d25905bfe 100644
--- a/tests/end2end/features/conftest.py
+++ b/tests/end2end/features/conftest.py
@@ -199,6 +199,7 @@ def open_path(quteproc, server, path):
- With "... as a URL", it's opened according to new_instance_open_target.
"""
path = path.replace('(port)', str(server.port))
+ path = path.replace('(testdata)', testutils.abs_datapath())
new_tab = False
new_bg_tab = False