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>2023-07-03 16:48:23 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-07-03 16:48:23 +0300
commit4c6095ca9375c4b88dafc35ca064ab8a21771d6c (patch)
treea1c1628d6c9a9c58e6206fc8306bba2a79e27db9 /spec/features
parent9b7331ec40066a8edfc3452ec6658aad89b56126 (diff)
Add latest changes from gitlab-org/gitlab@16-1-stable-ee
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/markdown/sandboxed_mermaid_spec.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/features/markdown/sandboxed_mermaid_spec.rb b/spec/features/markdown/sandboxed_mermaid_spec.rb
index f8a535191da..87696eb82e5 100644
--- a/spec/features/markdown/sandboxed_mermaid_spec.rb
+++ b/spec/features/markdown/sandboxed_mermaid_spec.rb
@@ -16,8 +16,9 @@ RSpec.describe 'Sandboxed Mermaid rendering', :js, feature_category: :team_plann
MERMAID
end
- let_it_be(:expected) do
- %(<iframe src="/-/sandbox/mermaid" sandbox="allow-scripts allow-popups" frameborder="0" scrolling="no")
+ let(:expected) do
+ src = "http://#{Capybara.current_session.server.host}:#{Capybara.current_session.server.port}/-/sandbox/mermaid"
+ %(<iframe src="#{src}" sandbox="allow-scripts allow-popups" frameborder="0" scrolling="no")
end
context 'in an issue' do