silverstripe-cms/tests/cuke/step_definitions/front-end.rb

22 lines
557 B
Ruby
Raw Normal View History

##
## Step definitions for testing the front-end site
##
Given /I go to the draft site/ do
pending
Given 'I click the "viewStageSite" link'
# |''element''|//a[@id="viewStageSite"]|''exists''|
# |''checking timeout''|@{fast_checking_timeout}|
# |''optionally''|''element''|//a[@id="viewStageSite"][@style=""]|''exists''|
# |''checking timeout''|@{checking_timeout}|
# |''click''|viewStageSite|
end
Given /I close window and go back to clean state/ do
# |''close''|
# |''select initial window''|
# |default frame|
# |''go to root node''|
end