ita-social-projects / ita-social-projects/StreetCode_Client

[Stretch], CO #5, 6, 7, 8, 9 Write unit tests for 'Команда' Admin page

Open
#1,100 0 comments 0 reactions 0 assignees View on GitHub
admin-page Front-end tests
Dominant language
TypeScript
Stars
15
Forks
10
PR merge metrics
No merged PRs in 30d

Description

![Image](https://github.com/ita-social-projects/StreetCode_Client/assets/91199925/0c1699c6-aa05-4e48-af78-1c8b26466a7b)

test for creating team member only with required fields
test for creating team member with all possible fields (all social medias as well)
test for editing team member
check text amount restrictions in inputs
check also functionality that when required fields are the same then existing news should be updated instead of created
For file uploader use image from assets (folder for_tests)

Component to put tests on:

TeamModal.component.tsx
TeamLink.component.tsx
TeamPage.component.tsx
Mock all needed requests ( create, update, get ext.)

Contributor guide

No contributing guide indexed for this repository

Research direction

Read TeamModal.component.tsx, TeamLink.component.tsx, and TeamPage.component.tsx first, then identify the existing unit-test entry points and request mocks. Done means coverage for required-only creation, all fields and social media, editing, input text limits, duplicate required fields, and file upload using the folder_for_tests image.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, testing
Issue type
Feature
Difficulty
3/5
Estimated time
3-5 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.