Fix toggable fieldset specs for work_packages#index for now

pull/1282/head
Till Breuer 11 years ago
parent 86c62ccb78
commit fe3d2e3984
  1. 4
      spec/features/accessibility/work_packages/index_toggable_fieldsets_spec.rb
  2. 4
      spec/features/work_packages/work_packages_page.rb

@ -42,6 +42,10 @@ describe 'Work package index' do
work_packages_page.visit_index
end
before :each do
work_packages_page.click_toolbar_button 'Filter'
end
describe 'Filter fieldset', js: true do
it_behaves_like 'toggable fieldset initially expanded' do
let(:fieldset_name) { 'Add filter' }

@ -50,6 +50,10 @@ class WorkPackagesPage
find('#main-menu .work-packages').click
end
def click_toolbar_button(button)
find('.toolbar-container').click_button button
end
def select_query(query)
visit query_path(query);
end

Loading…
Cancel
Save