scinote-web/features/step_definitions/invite_user_steps.rb

12 lines
364 B
Ruby
Raw Normal View History

2019-12-17 18:36:19 +08:00
# frozen_string_literal: true
2019-12-17 18:21:49 +08:00
2019-12-17 18:36:19 +08:00
Given('Settings page of BioSistemika Process team of a Karli Novak user') do
visit '/users/settings/teams/1'
2019-12-17 18:21:49 +08:00
end
Then('I should see {string} massage of {string} modal window') do |massage, modal|
modal_object = page.find('.modal-content', text: modal)
expect(modal_object).to have_selector '.results-wrap', text: massage
end