mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
- If it's the user's profile, show vueDropzone, if not show just the user's avatar - apollo mutation is being called twice for drag and drop events
18 lines
529 B
Gherkin
18 lines
529 B
Gherkin
Feature: Upload UserProfile Image
|
|
As a user
|
|
I would like to be able to add an avatar/profile pic to my profile
|
|
So that I can personalize my profile
|
|
|
|
|
|
Background:
|
|
Given I have a user account
|
|
|
|
Scenario: Change my UserProfile Image
|
|
Given I am logged in
|
|
And I visit my profile page
|
|
Then I should be able to change my profile picture
|
|
|
|
Scenario: Unable to change another user's avatar
|
|
Given I am logged in with a "user" role
|
|
And I visit another user's profile page
|
|
Then I cannot upload a picture |