From 6947b0ecaf6ae2a671cb9f101aeec8c93c92a804 Mon Sep 17 00:00:00 2001 From: Daniel Cunha Date: Thu, 29 Nov 2012 16:32:43 -0300 Subject: [PATCH] Removing selenium driver verification --- features/step_definitions/noosfero_steps.rb | 8 -------- 1 file changed, 0 insertions(+), 8 deletions(-) diff --git a/features/step_definitions/noosfero_steps.rb b/features/step_definitions/noosfero_steps.rb index 5d73fab..11640c6 100644 --- a/features/step_definitions/noosfero_steps.rb +++ b/features/step_definitions/noosfero_steps.rb @@ -1,7 +1,3 @@ -def selenium_driver? - self.class.to_s == 'Webrat::SeleniumSession' -end - Given /^the following users?$/ do |table| # table is a Cucumber::Ast::Table table.hashes.each do |item| @@ -313,10 +309,6 @@ Given /^I am logged in as admin$/ do fill_in("Username", :with => user.login) fill_in("Password", :with => '123456') click_button("Log in") - # FIXME selenium do not wait page load sometimes - if selenium_driver? - selenium.wait_for_page - end end Given /^I am not logged in$/ do -- libgit2 0.21.2