software_block.feature
1.26 KB
Feature: edit adherent fields
As a user
I want to edit adherent fields
to mantain my public software up to date.
Background:
Given "SoftwareCommunitiesPlugin" plugin is enabled
And I am logged in as mpog_admin
And I go to /admin/plugins
And I check "SoftwareCommunitiesPlugin"
And I press "Save changes"
And the following softwares
| name | public_software | finality |
| Public Software | true | some finality |
| Generic Software | false | some finality |
And the following blocks
| owner | type |
| mpog-admin | SoftwaresBlock |
Scenario: Change software block to generic software block
Given I follow "Control panel"
And I follow "Edit sideboxes"
And I print the page
And I follow "Edit" within ".softwares-block"
When I select "Generic" from "block_software_type"
And I press "Save"
Then I should see "generic software"
Scenario: Change software block to generic software block
Given I follow "Control panel"
And I follow "Edit sideboxes"
And I follow "Edit" within ".softwares-block"
When I select "Public" from "block_software_type"
And I press "Save"
Then I should see "public software"