diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-16 21:25:58 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-16 21:25:58 +0300 |
commit | a5f4bba440d7f9ea47046a0a561d49adf0a1e6d4 (patch) | |
tree | fb69158581673816a8cd895f9d352dcb3c678b1e /spec/features/contextual_sidebar_spec.rb | |
parent | d16b2e8639e99961de6ddc93909f3bb5c1445ba1 (diff) |
Add latest changes from gitlab-org/gitlab@14-0-stable-eev14.0.0-rc42
Diffstat (limited to 'spec/features/contextual_sidebar_spec.rb')
-rw-r--r-- | spec/features/contextual_sidebar_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/features/contextual_sidebar_spec.rb b/spec/features/contextual_sidebar_spec.rb index 8ea1ebac6b7..39881a28b11 100644 --- a/spec/features/contextual_sidebar_spec.rb +++ b/spec/features/contextual_sidebar_spec.rb @@ -3,17 +3,17 @@ require 'spec_helper' RSpec.describe 'Contextual sidebar', :js do - let(:user) { create(:user) } - let(:project) { create(:project) } + let_it_be(:project) { create(:project) } + + let(:user) { project.owner } before do - project.add_maintainer(user) sign_in(user) visit project_path(project) end - it 'shows flyout navs when collapsed or expanded apart from on the active item when expanded' do + it 'shows flyout navs when collapsed or expanded apart from on the active item when expanded', :aggregate_failures do expect(page).not_to have_selector('.js-sidebar-collapsed') find('.rspec-link-pipelines').hover |