Commit 83b9f5af authored by Tomislav Nikic's avatar Tomislav Nikic

Adding the right api client

Creating the API client during the fabrication via
the browser. This makes it possible to remove afterwards.
parent 3fd460eb
...@@ -39,6 +39,8 @@ module QA ...@@ -39,6 +39,8 @@ module QA
# Sign out as admin and sign is as the fork user # Sign out as admin and sign is as the fork user
Flow::Login.sign_in(as: user) Flow::Login.sign_in(as: user)
@api_client = Runtime::API::Client.new(:gitlab, is_new_session: false, user: user)
upstream.visit! upstream.visit!
Page::Project::Show.perform(&:fork_project) Page::Project::Show.perform(&:fork_project)
......
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