Sha256: fe1515c3fe61d7e44426d73db2a8c4d27e979d58c11164096dd165f0fbc8ee00
Contents?: true
Size: 1.19 KB
Versions: 62
Compression:
Stored size: 1.19 KB
Contents
require 'test_helper' module Workarea module Admin class SearchSettingsSystemTest < SystemTest include Admin::IntegrationTest def test_administrating_settings visit admin.search_settings_path click_link t('workarea.admin.search_settings.show.synonyms.title') fill_in 'synonyms', with: 'ben, foo' click_link t('workarea.admin.search_settings.show.filters.title') fill_in 'terms_facets_list', with: 'color, size, material' click_link t('workarea.admin.search_settings.show.boosts.title') fill_in 'boosts[name]', with: '3' fill_in 'boosts[description]', with: '0.5' click_button 'save_settings' click_link t('workarea.admin.search_settings.show.synonyms.title') assert_equal('ben, foo', find_field('synonyms').value) click_link t('workarea.admin.search_settings.show.filters.title') assert_equal('color, size, material', find_field('terms_facets_list').value) click_link t('workarea.admin.search_settings.show.boosts.title') assert_equal('3', find_field('boosts[name]').value) assert_equal('0.5', find_field('boosts[description]').value) end end end end
Version data entries
62 entries across 62 versions & 1 rubygems
Version | Path |
---|---|
workarea-admin-3.4.13 | test/system/workarea/admin/search_settings_system_test.rb |
workarea-admin-3.4.12 | test/system/workarea/admin/search_settings_system_test.rb |