summaryrefslogtreecommitdiff
path: root/qa/spec
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-01-19 03:07:38 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-01-19 03:07:38 +0000
commit0cee6f1577cd31cae7dc0e82f65dcad462a4d18a (patch)
tree180a48cc0b5b15e6f2ac489a6c828ebab591d4cf /qa/spec
parentdcd01617a750c41fd082cc3383fc7ad2f2afd026 (diff)
downloadgitlab-ce-0cee6f1577cd31cae7dc0e82f65dcad462a4d18a.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'qa/spec')
-rw-r--r--qa/spec/runtime/script_extensions/interceptor_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/spec/runtime/script_extensions/interceptor_spec.rb b/qa/spec/runtime/script_extensions/interceptor_spec.rb
index 28e8007973c..d7835b28071 100644
--- a/qa/spec/runtime/script_extensions/interceptor_spec.rb
+++ b/qa/spec/runtime/script_extensions/interceptor_spec.rb
@@ -3,7 +3,7 @@
RSpec.describe 'Interceptor' do
let(:browser) { Capybara.current_session }
# need a real host for the js runtime
- let(:url) { "file://#{__dir__}/../../../qa/fixtures/script_extensions/test.html" }
+ let(:url) { "file://#{File.join(Runtime::Path.fixtures_path, 'script_extensions', 'test.html')}" }
before(:context) do
skip 'Only can test for chrome' unless QA::Runtime::Env.can_intercept?