AutorÃa | Ultima modificación | Ver Log |
@repository @repository_wikimedia @javascriptFeature: Wikimedia repositoryIn order to update my profile pictureAs an adminI need to choose a picture from WikimediaScenario: Users can add profile picture using wikimediaGiven I log in as "admin"And I open my profile in edit modeAnd I click on "Add..." "button" in the "New picture" "form_row"# Upload a new user picture using Wikimedia repository.And I follow "Wikimedia"And I set the field "Search for:" to "cat"And I click on "Submit" "button"# Click on the link of the first search result.And I click on "a.fp-file" "css_element"And I click on "Select this file" "button"When I click on "Update profile" "button"# New profile picture.Then "//img[contains(@class, 'userpicture')]" "xpath_element" should exist# Default profile picture should not exist any more.And "//img[contains(@class, 'defaultuserpic')]" "xpath_element" should not exist