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-02-12 00:09:00 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-02-12 00:09:00 +0300
commitbf217da41b429d80da49287b84dadcbf499ac22c (patch)
treeb3499733d7e1abb88a3f0975333c85d00a80fd96 /spec/features/user_can_display_performance_bar_spec.rb
parent559d99e40299e67969023a1afd23d084fbf23ed1 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/user_can_display_performance_bar_spec.rb')
-rw-r--r--spec/features/user_can_display_performance_bar_spec.rb26
1 files changed, 0 insertions, 26 deletions
diff --git a/spec/features/user_can_display_performance_bar_spec.rb b/spec/features/user_can_display_performance_bar_spec.rb
index e74301fb2d8..9c67523f88f 100644
--- a/spec/features/user_can_display_performance_bar_spec.rb
+++ b/spec/features/user_can_display_performance_bar_spec.rb
@@ -49,10 +49,6 @@ RSpec.describe 'User can display performance bar', :js do
let(:group) { create(:group) }
- before do
- allow(GitlabPerformanceBarStatsWorker).to receive(:perform_in)
- end
-
context 'when user is logged-out' do
before do
visit root_path
@@ -101,28 +97,6 @@ RSpec.describe 'User can display performance bar', :js do
it_behaves_like 'performance bar is enabled by default in development'
it_behaves_like 'performance bar can be displayed'
-
- it 'does not show Stats link by default' do
- find('body').native.send_keys('pb')
- wait_for_requests
-
- expect(page).not_to have_link('Stats')
- end
-
- context 'when GITLAB_PERFORMANCE_BAR_STATS_URL environment variable is set' do
- let(:stats_url) { 'https://log.gprd.gitlab.net/app/dashboards#/view/' }
-
- before do
- stub_env('GITLAB_PERFORMANCE_BAR_STATS_URL', stats_url)
- end
-
- it 'shows Stats link' do
- find('body').native.send_keys('pb')
- wait_for_requests
-
- expect(page).to have_link('Stats', href: stats_url)
- end
- end
end
end
end