From ebd0767fc76c820088efce236a57e36619f08b6d Mon Sep 17 00:00:00 2001 From: Tim Zallmann Date: Wed, 7 Jun 2017 11:49:41 +0200 Subject: Fixed New Project Top Menu Test --- features/steps/dashboard/new_project_top_menu.rb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 features/steps/dashboard/new_project_top_menu.rb (limited to 'features/steps') diff --git a/features/steps/dashboard/new_project_top_menu.rb b/features/steps/dashboard/new_project_top_menu.rb new file mode 100644 index 00000000000..364be964efd --- /dev/null +++ b/features/steps/dashboard/new_project_top_menu.rb @@ -0,0 +1,17 @@ +class Spinach::Features::NewProjectTopMenu < Spinach::FeatureSteps + include SharedAuthentication + include SharedPaths + include SharedProject + + step 'I click "New project" in top right menu' do + page.within '.header-content' do + click_link "New project" + end + end + + step 'I see "New Project" page' do + expect(page).to have_content('Project path') + expect(page).to have_content('Project name') + end + +end -- cgit v1.2.1