silverstripe-reports/tests/cuke/step_definitions/front-end.rb
Sam Minnee 419da4d67c MINOR: Added a first cut of some cucumber tests for the CMS
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@94529 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:07 +13:00

22 lines
557 B
Ruby

##
## 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