From b865f594db52eb098075e63d605b43b40725db10 Mon Sep 17 00:00:00 2001 From: Leandro Nunes dos Santos Date: Tue, 16 Jul 2013 15:50:20 -0300 Subject: [PATCH] fill the correct username and password field in cucumber tests with selenium --- features/step_definitions/noosfero_steps.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/step_definitions/noosfero_steps.rb b/features/step_definitions/noosfero_steps.rb index ffdc2aa..5192826 100644 --- a/features/step_definitions/noosfero_steps.rb +++ b/features/step_definitions/noosfero_steps.rb @@ -287,8 +287,8 @@ end Given /^I am logged in as "(.+)"$/ do |username| Given %{I go to logout page} And %{I go to login page} - And %{I fill in "Username" with "#{username}"} - And %{I fill in "Password" with "123456"} + And %{I fill in "main_user_login" with "#{username}"} + And %{I fill in "user_password" with "123456"} When %{I press "Log in"} # FIXME: # deveria apenas verificar que esta no myprofile do usuario -- libgit2 0.21.2