summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKushal Pandya <kushal@gitlab.com>2017-03-28 11:45:57 +0530
committerKushal Pandya <kushal@gitlab.com>2017-03-28 11:45:57 +0530
commita055622ae0b41550968da4269dd312844fcf6196 (patch)
treec993d46462badc09aadfeb82eb1bdeed0cdca525
parentaa637e69e04f92f0f8e8178a919ada5df088a186 (diff)
downloadgitlab-ce-a055622ae0b41550968da4269dd312844fcf6196.tar.gz
Update tests
-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