diff --git a/app/views/my_projects_overviews/_block.html.erb b/app/views/my_projects_overviews/_block.html.erb index b181c646b2..97fa3e11ff 100644 --- a/app/views/my_projects_overviews/_block.html.erb +++ b/app/views/my_projects_overviews/_block.html.erb @@ -25,7 +25,7 @@ See doc/COPYRIGHT.md for more details. :confirm => l(:label_confirm_delete), :url => { :action => "remove_block", :block => block_name }, :complete => "removeBlock('block_#{block_name.dasherize}')" }, - :class => "icon icon-del" + :class => "icon icon-delete" %> diff --git a/app/views/my_projects_overviews/_block_textilizable.html.erb b/app/views/my_projects_overviews/_block_textilizable.html.erb index a64206d416..1deced2f87 100644 --- a/app/views/my_projects_overviews/_block_textilizable.html.erb +++ b/app/views/my_projects_overviews/_block_textilizable.html.erb @@ -25,7 +25,7 @@ See doc/COPYRIGHT.md for more details. :confirm => l(:label_confirm_delete), :url => { :action => "remove_block", :block => block_name }, :complete => "removeBlock('block_#{block_name.dasherize}')" }, - :class => "icon icon-del" + :class => "icon icon-delete" %> diff --git a/features/step_definitions/custom_overview_page_steps.rb b/features/step_definitions/custom_overview_page_steps.rb index 8fd50f2be9..51993043b9 100644 --- a/features/step_definitions/custom_overview_page_steps.rb +++ b/features/step_definitions/custom_overview_page_steps.rb @@ -37,7 +37,7 @@ Then /^I should be able to change things and see my changes when I finish$/ do !60.times{ break unless (driver.find_element(:css, "#ajax-indicator").displayed? rescue true); sleep 1 } driver.find_element(:css, "#list-top > #block_timelog").should be_displayed # ERROR: Caught exception [ERROR: Unsupported command [selectWindow]] - driver.find_element(:css, "#block_wiki > div > a.icon.icon-del").click + driver.find_element(:css, "#block_wiki > div > a.icon.icon-delete").click # ERROR: Caught exception [ERROR: Unsupported command [getConfirmation]] !60.times{ break unless (driver.find_element(:css, "#ajax-indicator").displayed? rescue true); sleep 1 } (driver.find_elements(:css, "#block-select > option[value='wiki'][disabled]").size).should == 0 @@ -73,7 +73,7 @@ Then /^I should be able to add a teaser element with custom text$/ do end Then /^I should be able to delete a teaser element$/ do - driver.find_element(:css, "#block_a > div > a.icon.icon-del").click + driver.find_element(:css, "#block_a > div > a.icon.icon-delete").click # ERROR: Caught exception [ERROR: Unsupported command [getConfirmation]] driver.find_element(:link, "Back").click (driver.find_elements(:css, "#list-right > .mypage-box > p").size).should == 0