Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKushal Pandya <kushal@gitlab.com>2017-03-28 09:15:57 +0300
committerKushal Pandya <kushal@gitlab.com>2017-03-28 09:15:57 +0300
commita055622ae0b41550968da4269dd312844fcf6196 (patch)
treec993d46462badc09aadfeb82eb1bdeed0cdca525 /spec/features/projects/import_export
parentaa637e69e04f92f0f8e8178a919ada5df088a186 (diff)
Update tests
Diffstat (limited to 'spec/features/projects/import_export')
-rw-r--r--spec/features/projects/import_export/import_file_spec.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/spec/features/projects/import_export/import_file_spec.rb b/spec/features/projects/import_export/import_file_spec.rb
index 2d1106ea3e8..583f479ec18 100644
--- a/spec/features/projects/import_export/import_file_spec.rb
+++ b/spec/features/projects/import_export/import_file_spec.rb
@@ -69,12 +69,8 @@ feature 'Import/Export - project import integration test', feature: true, js: tr
select2(namespace.id, from: '#project_namespace_id')
- # click on disabled element
- find(:link, 'GitLab export').trigger('click')
-
- page.within('.flash-container') do
- expect(page).to have_content('Please enter path and name')
- end
+ # Check for tooltip disabled import button
+ expect(find('.import_gitlab_project')['title']).to eq('Please enter a valid project name.')
end
end