I've been running my tests via the terminal for a while now without any problems.:
cucumber Create\ New\ Game.feature
Which contains the following:
Feature: Create New Game
Given I am logged in
Scenario: Cleanup & New Game 01
Then I Delete all test Games
And the ruby:
Given(/^I am logged in$/) do
el = first("button[ttag='account_dropdown_btn']", :visible => true)
logMeIn defined as:
# Logs the user in with given credentials
def logMeIn(username, password)
fill_in 'j_username', :with => username
fill_in 'j_password', :with => password
None of the above has changed from when the tests were working until now. Today, when I start the tests, as soon as Firefox opens, I immediately get:
Background: # features/Create New Game.feature:4
Given I am logged in # features/step_definitions/Generic Steps.rb:1
As you can see, it's failing on the first line. I don't know why.
I updated all my gems to make sure everything was fresh, but this didn't work. I thought it might have been a browser issue as my system automatically updated to Firefox 35.0 this morning. I uninstalled and tried 34 but it's still the same problem. None of the code has changed.
I don't know what other misconfiguration could've caused this as I haven't changed anything.
Can anyone help further with this error?