Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Update user profile] [Change Photo] Verify that an error message appears when an unsupported file format or size is uploaded #2267

Open
Oksanakul opened this issue Feb 11, 2025 · 0 comments

Comments

@Oksanakul
Copy link

Priority:
Medium

Preconditions

  1. User is logged in the system.
  2. The modal 'Edit profile' is opened.

Steps to reproduce

  1. Click the "Change Photo" button.
    Expected result: The system opens a file selection dialog.
  2. Upload an unsupported file format (e.g., PDF, GIF).
    Expected result: The system rejects the file and displays an error message.
  3. Upload an unsupported file format (e.g., PDF, GIF).

Expected result
The system rejects the file and display a notification with an error message under the crop field:

EN: "Incorrect file format or size. Upload a file in JPG, JPEG, PNG, HEIC, or WEBP format, and ensure it is less than 3 MB."
UA: "Невірний формат файлу чи розміру. Завантажте файл у форматі JPG, JPEG, PNG, HEIC або WEBP, розміром до 3 МБ."

User story:#2078

Related bug:

@Oksanakul Oksanakul self-assigned this Feb 11, 2025
@Oksanakul Oksanakul moved this to Test Cases in StreetCode Feb 11, 2025
@Oksanakul Oksanakul changed the title [Update user profile] Verify that an error message appears when an unsupported file format or size is uploaded [Update user profile] [Change Photo] Verify that an error message appears when an unsupported file format or size is uploaded Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Test Cases
Development

No branches or pull requests

1 participant