__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
@repository @repository_wikimedia @javascript
Feature: Wikimedia repository
In order to update my profile picture
As an admin
I need to choose a picture from Wikimedia
Scenario: Users can add profile picture using wikimedia
Given I log in as "admin"
And I open my profile in edit mode
And 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
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| add_files.feature | File | 982 B | 0777 |
|