ita-social-projects / ita-social-projects/StreetCode

Improvement [Admin/Text and Video block] Does not have a warning or error message when entering an invalid link on a video in the URL field

Open
#409 0 comments 0 reactions 2 assignees Claimed by @DariaAntonenko View on GitHub
(Epic#2) Admin/New StreetCode bug
Dominant language
C#
Stars
27
Forks
14
PR merge metrics
No merged PRs in 30d

Description

**Environment:** OS, Windows 11
**Browser**: Google Chrome Version 114.0.5735.135
**Reproducible:** always
**Build found:** https://github.com/ita-social-projects/StreetCode/commit/1b79c162699aafffaa1f620fb97e9eb04fd6e0fb

**Preconditions**
1.Go to http://185.230.138.173/admin-panel
2.Log in as Admin
3.Go to creating a new Streetcode

**Steps to reproduce**
1. Go to 'Text and Video block'
2. In the field "Відео" add tik tok link ( https://www.tiktok.com/foryou?lang=uk-UA )
this link is invalid as in acceptance criteria says that we can add only YouTube links to Video Block
3. Click on " Попередній перегляд "button

**Actual result**
The video is not added below and can't be viewed. A warning or error message doesn't appear.

**Expected result**
The video is not added below and can't be viewed. A warning or error message appears ( e.g: 'Ведіть ,будь ласка, тільки youtube.com силку. Це поле не підтримує інші формати URL')

**User story and test case links**
E.g.: "User story # 122
[Test case] #352

**Labels to be added**
"Bug", Priority ("low"), Severity ("low"), Type ("Functional")

Uploading Стріткод _ Історія на кожному кроці - Google Chrome 2023-07-12 15-01-53.mp4…

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.