Commit
ca535c0a45a559e60cbd8c8fbe3194726670c1e9
Exists in
master
and in
23 other branches
activate_plugin, api_fixies, api_tasks, article_blog_visualization_format, article_layout_refactoring, article_layout_temp, blog_page_bug, clone_article, communities_ratings, design_template, event_layout, fix_forum, fix_optional_fields, fix_suggest_article, folder_improvments, manage_organization, merge_deactive_and_ban, news_page, script_to_update, stable, template_mirror_block, tests, tests_fixies
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 |