Commit f3047975d33768416174e3a7efe4f657f44fbdae
Committed by
Rodrigo Souto
1 parent
e4b374d1
Exists in
master
and in
28 other branches
fill the correct username and password field in cucumber tests with selenium
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
features/step_definitions/noosfero_steps.rb
| ... | ... | @@ -287,8 +287,8 @@ end |
| 287 | 287 | Given /^I am logged in as "(.+)"$/ do |username| |
| 288 | 288 | Given %{I go to logout page} |
| 289 | 289 | And %{I go to login page} |
| 290 | - And %{I fill in "Username" with "#{username}"} | |
| 291 | - And %{I fill in "Password" with "123456"} | |
| 290 | + And %{I fill in "main_user_login" with "#{username}"} | |
| 291 | + And %{I fill in "user_password" with "123456"} | |
| 292 | 292 | When %{I press "Log in"} |
| 293 | 293 | # FIXME: |
| 294 | 294 | # deveria apenas verificar que esta no myprofile do usuario | ... | ... |