Commit
ca535c0a45a559e60cbd8c8fbe3194726670c1e9
Exists in
staging
and in
26 other branches
angular_poc, api-article-archived, api-homepage, api_visitor, article-readonly, caching-rails4, captcha_serpro_plugin, comment_paragraph_api, comments_api_reply, content-manager-hostspot, environment-api, export-comment-paragraph, fix_event_date_issue, fix_multitenancy, fix_profile_wall, fix_string_downcase_and_upcase, fix_upload_files_on_development_environment, json_cookie_serializer, login-captcha, master, new_security, new_video_plugin, pg_search_rank, production, resend_confirmation_email, tasks_keep_filter_params
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 |