fixed specs (filter changes do not apply automatically anymore)

pull/4911/head
Markus Kahl 8 years ago
parent 5c6ba1723b
commit d1e55e1622
  1. 1
      features/step_definitions/user_steps.rb
  2. 1
      spec/features/members/invitation_spec.rb

@ -143,6 +143,7 @@ end
When /^I filter the users list by status "([^\"]+)"$/ do |status| When /^I filter the users list by status "([^\"]+)"$/ do |status|
visit('/users') visit('/users')
select(status, from: 'Status:') select(status, from: 'Status:')
click_on "Apply"
end end
Given(/^I click the (\w+) access key reset link$/) do |access_key_type| Given(/^I click the (\w+) access key reset link$/) do |access_key_type|

@ -53,6 +53,7 @@ feature 'invite user via email', type: :feature, js: true do
expect(members_page).to have_added_user('finkelstein @openproject.com', visible: false) expect(members_page).to have_added_user('finkelstein @openproject.com', visible: false)
click_on 'filter-member-button' # toggle filters click_on 'filter-member-button' # toggle filters
select 'all', from: 'status' select 'all', from: 'status'
click_on 'Apply'
expect(members_page).to have_user 'finkelstein @openproject.com' expect(members_page).to have_user 'finkelstein @openproject.com'
end end
end end

Loading…
Cancel
Save