Commit e1db474be059ca620f888ac4069835a048e7ee2a
Committed by
Luciano Prestes
1 parent
aeec2334
Exists in
master
and in
5 other branches
Fix broken selenium tests
Showing
1 changed file
with
5 additions
and
16 deletions
Show diff stats
features/software_registration.feature
| ... | ... | @@ -11,11 +11,9 @@ Feature: edit public software information |
| 11 | 11 | And I check "SoftwareCommunitiesPlugin" |
| 12 | 12 | And I press "Save changes" |
| 13 | 13 | And I go to /myprofile/mpog-admin |
| 14 | - And I follow "Create a new software" | |
| 15 | - And I fill in "community_name_id" with "basic software" | |
| 16 | - And I fill in "software_info_finality" with "basic software finality" | |
| 17 | - And I type in "gp" in autocomplete list "#license_info_version" and I choose "GPL-2" | |
| 18 | - And I press "Create" | |
| 14 | + And the following softwares | |
| 15 | + | name | public_software | finality | | |
| 16 | + | basic software | true | basic software finality | | |
| 19 | 17 | |
| 20 | 18 | @selenium |
| 21 | 19 | Scenario: Show SoftwareLangue fields when click in New Language |
| ... | ... | @@ -72,20 +70,11 @@ Feature: edit public software information |
| 72 | 70 | And selector "#database__version" should have any "4.5.6" |
| 73 | 71 | |
| 74 | 72 | @selenium |
| 75 | - Scenario: Message second step of creation in edit software community | |
| 76 | - Given the following softwares | |
| 77 | - | name | finality | | |
| 78 | - | New Software | some finality | | |
| 79 | - And I go to /myprofile/new-software/profile_editor/edit | |
| 80 | - Then I should see "Step 2/2 - Software Community Configuration" | |
| 81 | - And I go to /myprofile/new-software/profile_editor/edit | |
| 82 | - Then I should not see "Step 2/2 - Software Community Configuration" | |
| 83 | - | |
| 84 | - @selenium | |
| 85 | 73 | Scenario: Show license link when a license is selected |
| 86 | 74 | Given I am on mpog-admin's control panel |
| 87 | 75 | And I follow "Create a new software" |
| 88 | - And I fill in "community_name" with "another software" | |
| 76 | + And I fill in "community_name_id" with "another software" | |
| 77 | + And I fill in "community_identifier" with "another-software" | |
| 89 | 78 | And I fill in "software_info_finality" with "another software finality" |
| 90 | 79 | And I type in "gp" in autocomplete list "#license_info_version" and I choose "GPL-2" |
| 91 | 80 | And I should see "Read license" within "#version_link" | ... | ... |