Commit 2c5c5c827da53a371fcc70f3365f6cd90a41a1a1

Authored by Parley
Committed by Arthur Esposte
1 parent 69171e63

Add test to search software catalog block

Signed-off-by: David Carlos <ddavidcarlos1392@gmail.com>
Signed-off-by: Parley Martins <parley@outlook.com>
Showing 1 changed file with 25 additions and 0 deletions   Show diff stats
features/software_catalog_block.feature 0 → 100644
... ... @@ -0,0 +1,25 @@
  1 +Feature:Search catalogued software
  2 + As a user
  3 + I want to be able to search catalogued software
  4 + So that I find a software that fit my needs
  5 + Background:
  6 + Given "MpogSoftwarePlugin" plugin is enabled
  7 + And I am logged in as mpog_admin
  8 + And I go to /admin/plugins
  9 + And I check "MpogSoftwarePlugin"
  10 + And I press "Save changes"
  11 + And I go to /admin/environment_design
  12 + And I follow "Add a block"
  13 + And I choose "Search Softwares catalog"
  14 + And I press "Add"
  15 + And I go to /account/logout
  16 + And the following users
  17 + | login | name | email |
  18 + | joaosilva | Joao Silva | joaosilva@example.com |
  19 + And I am logged in as "joaosilva"
  20 +
  21 +
  22 + Scenario: successfull search
  23 + Given I go to homepage
  24 + And I press "Search"
  25 + Then I should see "Software Catalog"
... ...