mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-09-08 18:51:28 +02:00
22 lines
557 B
Ruby
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
|