I think there is no need to have separate file for language field. I suggest we rename it to user_profile_personal.feature and add tests for other fields on the "Personal information" tab.
Tests should:
1. fill in all fields on the tab, save and see that texts/links show up on the profile page
2. fields for urls (e.g. Twitter) should not accept invalid urls
3. after filling fields and saving - follow links for Gender and Country and see that pages "People who are" and "People who live in" are present.
Proposed feature update:
Feature: Personal information in user profile
In order to share information about myself
As an authenticated user
I should be able to edit my profile and fill in personal information
Comments
Comment #1
kssundar commentedAssigning and tagging
Comment #2
kssundar commentedFeature updated and committed here - http://drupalcode.org/project/doobie.git/commit/70b41df and http://drupalcode.org/project/doobie.git/commit/292a976
Comment #3
kssundar commentedUpdated title to match the new feature file
Comment #4
tvn commentedI've added couple of texts and 1 link to tests: http://drupalcode.org/project/doobie.git/commit/2392ca8
File looks good to me now.
Not sure why, but 1 scenario is failing for me:
"The text "The value provided for Google profile is not a valid URL" was not found anywhere in the text of the current page."
Comment #5
kssundar commentedNeeds work actually
Comment #6
kssundar commentedThe field label for Google profile field was wrongly entered. Corrected and committed here - http://drupalcode.org/project/doobie.git/commit/c68b66d
Comment #7
pradeeprkara commentedPorted to 7.x branch.
http://drupalcode.org/project/doobie.git/commit/f8217a2
Comment #8
eliza411 commentedI can't get this test to run to completion. It hangs trying to follow the link in the scenario on line 56 and I immediately see why. Would prefer to have it fail rather than hanging indefinitely.
Comment #9
kssundar commentedRan this with @javascript:
Ran this without @javascript:
Comment #10
eliza411 commentedThis still won't pass for me with @javascript and I hadn't tried running it without. It reliably passes without selenium. Is there something specifically being tested with the javascript tag, or can we safely remove it and call it rtbc.?
Comment #11
kssundar commentedWe have observed that /profile/* page takes long time to load and some time takes ages. There is no need of @javascript tag here. We can remove it and mark it rtbc.
Comment #12
eliza411 commentedPerfect. Marking fixed, actually, since all the tests are passing.
Comment #13.0
(not verified) commented.