Commit fc897527 authored by Andrejs Cunskis's avatar Andrejs Cunskis

Merge branch 'ml-update-mirroring-tests' into 'master'

Wait for mirroring test repo contents to load async

See merge request gitlab-org/gitlab!81958
parents 7534e575 2e67fac4
......@@ -37,7 +37,7 @@ module QA
target_project.visit!
Page::Project::Show.perform do |project|
expect(project).to have_content('README.md')
expect { project.has_file?('README.md') }.to eventually_be_truthy.within(max_duration: 60), "Expected a file named README.md but it did not appear."
expect(project).to have_content('This is a test project')
end
end
......
......@@ -37,7 +37,7 @@ module QA
target_project.visit!
Page::Project::Show.perform do |project|
expect(project).to have_file('README.md')
expect { project.has_file?('README.md') }.to eventually_be_truthy.within(max_duration: 60), "Expected a file named README.md but it did not appear."
expect(project).to have_readme_content('This is a pull mirroring test project')
expect(project).to have_text("Mirrored from #{masked_url(source_project_uri)}")
end
......
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