From f08dd69dd10c64637ed1158ab5b88cabe15957a5 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Tue, 7 May 2013 21:16:58 +0200 Subject: added comment --- tests/acceptance/features/step_definitions/create_new_steps.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') 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 -- cgit v1.2.3