5sControl / 5sControl/5s-frontend

fix bug there are no messages about invalid format in email field

Open
#537 0 comments 0 reactions 1 assignee Claimed by @AlexGurski View on GitHub
bug
Dominant language
TypeScript
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Сообщения о вводе некорректной почты отсутсвуют

**Precondition:**
пользователь авторизован
создан имейл
открыта страница "Configuration"-> tab "Email notifications"; "Company"->"Edit company" form

**Environment:**
win 11
chrome 114

**STR:**
1. Кликнуть по кнопке "Add email"
2. Заполнить/редактировать поля с помощью невалидных даныых
3. Перезагрузить страницу

**ER:**
Под полем "Email" выводятся сообщения об ошибке

Под полем "Email" не выводятся сообщения об ошибке

Attachment:
на данные тест-кейсы сообщение об ошибке отсутствует в форме редактирования компании ("Edit company" form)
![Image](https://github.com/5sControl/django-front/assets/122295113/7e50ef02-51b9-4927-b869-79912626d707)

на данные тест-кейсы отсутствуют сообщения об ошибке (страница "Configuration"-> tab "Email notifications")

![Image](https://github.com/5sControl/django-front/assets/122295113/21cfd75f-d297-4a9e-994a-4db65078b1a3)

Contributor guide

Open the contributing guide

Research direction

Find the email input components on the 'Configuration' -> 'Email notifications' page and the 'Company' -> 'Edit company' form. Look for validation logic and error message display. Check if there are existing tests for email validation. Reproduce the bug by entering invalid emails and reloading the page to see if error messages appear.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.