|
|
@ -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 } |
|
|
|
!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 |
|
|
|
driver.find_element(:css, "#list-top > #block_timelog").should be_displayed |
|
|
|
# ERROR: Caught exception [ERROR: Unsupported command [selectWindow]] |
|
|
|
# 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]] |
|
|
|
# ERROR: Caught exception [ERROR: Unsupported command [getConfirmation]] |
|
|
|
!60.times{ break unless (driver.find_element(:css, "#ajax-indicator").displayed? rescue true); sleep 1 } |
|
|
|
!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 |
|
|
|
(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 |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
Then /^I should be able to delete a teaser element$/ do |
|
|
|
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]] |
|
|
|
# ERROR: Caught exception [ERROR: Unsupported command [getConfirmation]] |
|
|
|
driver.find_element(:link, "Back").click |
|
|
|
driver.find_element(:link, "Back").click |
|
|
|
(driver.find_elements(:css, "#list-right > .mypage-box > p").size).should == 0 |
|
|
|
(driver.find_elements(:css, "#list-right > .mypage-box > p").size).should == 0 |
|
|
|