From 2c5c5c827da53a371fcc70f3365f6cd90a41a1a1 Mon Sep 17 00:00:00 2001 From: Parley Martins Date: Thu, 4 Dec 2014 12:07:25 -0200 Subject: [PATCH] Add test to search software catalog block --- features/software_catalog_block.feature | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+), 0 deletions(-) create mode 100644 features/software_catalog_block.feature diff --git a/features/software_catalog_block.feature b/features/software_catalog_block.feature new file mode 100644 index 0000000..bde6022 --- /dev/null +++ b/features/software_catalog_block.feature @@ -0,0 +1,25 @@ +Feature:Search catalogued software + As a user + I want to be able to search catalogued software + So that I find a software that fit my needs + Background: + Given "MpogSoftwarePlugin" plugin is enabled + And I am logged in as mpog_admin + And I go to /admin/plugins + And I check "MpogSoftwarePlugin" + And I press "Save changes" + And I go to /admin/environment_design + And I follow "Add a block" + And I choose "Search Softwares catalog" + And I press "Add" + And I go to /account/logout + And the following users + | login | name | email | + | joaosilva | Joao Silva | joaosilva@example.com | + And I am logged in as "joaosilva" + + + Scenario: successfull search + Given I go to homepage + And I press "Search" + Then I should see "Software Catalog" -- libgit2 0.21.2