diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-05-07 21:16:58 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-05-07 21:16:58 +0200 |
commit | f08dd69dd10c64637ed1158ab5b88cabe15957a5 (patch) | |
tree | 7e87c19a7f3f710ccd20f538b7f6a18cc9e906eb | |
parent | 112285d42370028e28dec4eec75e7a2a68f87056 (diff) |
added comment
-rw-r--r-- | tests/acceptance/features/step_definitions/create_new_steps.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/acceptance/features/step_definitions/create_new_steps.rb b/tests/acceptance/features/step_definitions/create_new_steps.rb index 40540b4b8..7432724b8 100644 --- a/tests/acceptance/features/step_definitions/create_new_steps.rb +++ b/tests/acceptance/features/step_definitions/create_new_steps.rb @@ -14,5 +14,6 @@ Then (/^I should see an "([^"]+)" caption on the add new button$/) do |caption| end Then (/^I should not see an "([^"]+)" caption on the add new button$/) do |caption| + # if its not visible the selector wont find it page.should have_no_selector(:xpath, "//li[contains(@class,\"add-new\")]/a/span[1]") end
\ No newline at end of file |