Closed Robert-F-Cameron closed 7 months ago
Feature: Personnel card image upload
As a user
I want to be able to add my picture to my personnel card
So that people can see who I am
Scenario: Selects accepted img format and uploads
Given I am editing my personnel card
X
When I save my card
Then should see my image on my personnel card
Scenario: incorrect image/file is selected for upload
Then should see an error that the file selected is incorrect
Scenario: file is too large
Then should see an error that the file selected is too large
Card portrait image feature implemented and tested.
Feature: Personnel card image upload
As a user
I want to be able to add my picture to my personnel card
So that people can see who I am
Acceptance Criteria
Scenario: Selects accepted img format and uploads
Given I am editing my personnel card
X
mbWhen I save my card
Then should see my image on my personnel card
Scenario: incorrect image/file is selected for upload
Given I am editing my personnel card
X
mbWhen I save my card
Then should see an error that the file selected is incorrect
Scenario: file is too large
Given I am editing my personnel card
X
mbWhen I save my card
Then should see an error that the file selected is too large