Commit fc1fbf29 authored by Ramya Authappan's avatar Ramya Authappan

Merge branch 'qa-fix-open-fork-in-web-ide' into 'master'

Fix flaky open_fork_in_web_ide

See merge request gitlab-org/gitlab!80452
parents c2440e5e 5832aab5
...@@ -11,7 +11,7 @@ module QA ...@@ -11,7 +11,7 @@ module QA
end end
context 'when a user does not have permissions to commit to the project' do context 'when a user does not have permissions to commit to the project' do
let(:user) { Resource::User.fabricate_or_use(Runtime::Env.gitlab_qa_username_1, Runtime::Env.gitlab_qa_password_1) } let(:user) { Resource::User.fabricate_or_use(Runtime::Env.gitlab_qa_username_6, Runtime::Env.gitlab_qa_password_6) }
context 'when no fork is present' do context 'when no fork is present' do
it 'suggests to create a fork when a user clicks Web IDE in the main project', testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347823' do it 'suggests to create a fork when a user clicks Web IDE in the main project', testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347823' do
...@@ -45,6 +45,10 @@ module QA ...@@ -45,6 +45,10 @@ module QA
submit_merge_request_upstream submit_merge_request_upstream
end end
after do
fork_project.project.remove_via_api!
end
end end
def submit_merge_request_upstream def submit_merge_request_upstream
......
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