Commit f5a6ad41 authored by Ragnar Hardarson's avatar Ragnar Hardarson Committed by Sean McGivern

Do not hit a project page before test data is setup

This finder function has a side-effect
find_or_create_subscription: https://gitlab.com/gitlab-org/gitlab/-/blob/50dbb5ad162d61d06b743ea2e8283fbdb26a0477/ee/app/models/ee/namespace.rb#L377-382
we need to ensure this is not called before a subscription has been
setup in the test.
parent 313b826d
...@@ -84,8 +84,6 @@ RSpec.describe 'Epic in issue sidebar', :js do ...@@ -84,8 +84,6 @@ RSpec.describe 'Epic in issue sidebar', :js do
stub_licensed_features(epics: true) stub_licensed_features(epics: true)
sign_in(user) sign_in(user)
visit project_issue_path(project, issue)
wait_for_requests
end end
it_behaves_like 'epic in issue sidebar' it_behaves_like 'epic in issue sidebar'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment