Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-05-31 15:10:34 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-05-31 15:10:34 +0300
commit7dc0a21702cd9345eeee385d8ce20002d9c9fb36 (patch)
treea369b90331ed6f61a37477e5e5713fcccfd45b4c /spec/support/capybara.rb
parente5f7ee6673f47290d860565f13a5a26391822260 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/support/capybara.rb')
-rw-r--r--spec/support/capybara.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/support/capybara.rb b/spec/support/capybara.rb
index f9a28c8e40b..e751c060145 100644
--- a/spec/support/capybara.rb
+++ b/spec/support/capybara.rb
@@ -177,7 +177,6 @@ RSpec.configure do |config|
config.append_after do |example|
if example.metadata[:screenshot]
screenshot = example.metadata[:screenshot][:image] || example.metadata[:screenshot][:html]
- screenshot&.delete_prefix!(ENV.fetch('CI_PROJECT_DIR', ''))
example.metadata[:stdout] = %{[[ATTACHMENT|#{screenshot}]]}
end
end