Commit e1db474be059ca620f888ac4069835a048e7ee2a

Authored by Fabio Teixeira
Committed by Luciano Prestes
1 parent aeec2334
Exists in master and in 79 other branches add_sisp_to_chef, add_super_archives_plugin, api_for_colab, automates_core_packing, backup_not_prod, changes_in_buttons_on_content_panel, colab_automated_login, colab_spb_plugin_recipe, colab_widgets_settings, design_validation, dev_env_minimal, disable_email_dev, fix_breadcrumbs_position, fix_categories_software_link, fix_edit_institution, fix_edit_software_with_another_license, fix_get_license_info, fix_gitlab_assets_permission, fix_list_style_inside_article, fix_list_style_on_folder_elements, fix_members_pagination, fix_merge_request_url, fix_models_translations, fix_no_license, fix_software_api, fix_software_block_migration, fix_software_communities_translations, fix_software_communities_unit_test, fix_style_create_institution_admin_panel, fix_superarchives_imports, fix_sym_links_noosfero, focus_search_field_theme, gov-user-refactoring, gov-user-refactoring-rails4, header_fix, institution_modal_on_rating, kalibro-conf-refactoring, kalibro-processor-package, lxc_settings, margin_fix, mezuro_cookbook, prezento, refactor_download_block, refactor_software_communities, refactor_software_for_sisp, register_page, release-process, release-process-v2, remove-unused-images, remove_broken_theme, remove_secondary_email_from_user, remove_sisp_buttons, removing_super_archives_email, review_message, scope2method, signals_user_noosfero, sisp_catalog_header, sisp_colab_config, sisp_dev, sisp_dev_master, sisp_simple_version, software_as_organization, software_catalog_style_fix, software_communities_html_refactor, software_infos_api, spb_minimal_env, spb_to_rails4, spec_refactor, stable-4.1, stable-4.2, stable-4.x, temp_soft_comm_refactoring, theme_header, theme_javascript_refactory, thread_dropdown, thread_page, update_search_by_categories, update_software_api, update_softwares_boxes

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"
... ...