Commit 6947b0ecaf6ae2a671cb9f101aeec8c93c92a804

Authored by Daniel Cunha
Committed by Daniela Feitosa
1 parent c4fe4f05

Removing selenium driver verification

Showing 1 changed file with 0 additions and 8 deletions   Show diff stats
features/step_definitions/noosfero_steps.rb
1   -def selenium_driver?
2   - self.class.to_s == 'Webrat::SeleniumSession'
3   -end
4   -
5 1 Given /^the following users?$/ do |table|
6 2 # table is a Cucumber::Ast::Table
7 3 table.hashes.each do |item|
... ... @@ -313,10 +309,6 @@ Given /^I am logged in as admin$/ do
313 309 fill_in("Username", :with => user.login)
314 310 fill_in("Password", :with => '123456')
315 311 click_button("Log in")
316   - # FIXME selenium do not wait page load sometimes
317   - if selenium_driver?
318   - selenium.wait_for_page
319   - end
320 312 end
321 313  
322 314 Given /^I am not logged in$/ do
... ...