Commit 0eed48e0 authored by Sanad Liaquat's avatar Sanad Liaquat Committed by Ramya Authappan

Fix project export audit log spec

parent cc62fe8e
......@@ -2,7 +2,7 @@
- project = local_assigns.fetch(:project)
.sub-section
.sub-section{ data: { qa_selector: 'export_project_content' } }
%h4= _('Export project')
%p= _('Export this project with all its related data in order to move your project to a new GitLab instance. Once the export is finished, you can import the file from the "New Project" page.')
......
......@@ -26,6 +26,7 @@ module QA
view 'app/views/projects/_export.html.haml' do
element :export_project_link
element :download_export_link
element :export_project_content
end
def update_project_path_to(path)
......
......@@ -98,7 +98,10 @@ module QA
expect(page).to have_text("Project export started")
Page::Project::Menu.perform(&:go_to_general_settings)
settings.expand_advanced_settings(&:has_download_export_link?)
settings.expand_advanced_settings do |advanced_settings|
advanced_settings.scroll_to_element(:export_project_content)
advanced_settings.has_download_export_link?
end
end
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