Commit
8f16e5b6d1d954677ee85878107b4d0e3546b9af
Exists in
master
and in
22 other branches
angular_poc, api-article-archived, article-readonly, backup-7-jan-2016, captcha_serpro_plugin, content-manager-hostspot, export-comment-paragraph, fix_event_date_issue, login-captcha, master_rails3, new_video_plugin, pg_search_rank, production, refactor_with_role, refactor_with_role_scope, remove_profile_cat_icons, resend_confirmation_email, staging, staging_rails3, tasks_keep_filter_params, theme-brasil-digital-from-staging, travis
Adding admin_categories_steps and custom_web_steps
| @@ -0,0 +1,4 @@ |
| @@ -0,0 +1,4 @@ |
| |
1
| +When /^I follow "([^"]*)" and wait while it hides$/ do |link| |
| |
2
| + click_link link |
| |
3
| + wait_until{ page.should have_no_css('a', :text => link, :visible => true) } |
| |
4
| +end |
| @@ -0,0 +1,5 @@ |
| @@ -0,0 +1,5 @@ |
| |
1
| +Then /^"([^"]*)" should not be visible within "([^"]*)"$/ do |text, selector| |
| |
2
| + if page.has_content?(text) |
| |
3
| + page.should have_no_css(selector, :text => text, :visible => false) |
| |
4
| + end |
| |
5
| +end |