topcoder-platform / TCO21-Regionals-QA-Competition

2 stars 0 forks source link

"Leave a Reply" form should flag the required fields before submitting the form on newegg insider articles #162

Open rprakash20 opened 3 years ago

rprakash20 commented 3 years ago

Steps to Reproduce

  1. Open https://www.newegg.com/insider/ in browser
  2. Click on an article which has "Leave a reply " on the article at the bottom (for e.g. 10 Best Fitness Trackers for a Healthier School Year https://www.newegg.com/insider/10-best-fitness-trackers-for-a-healthier-school-year/)
  3. Scroll to the bottom of the page where "Leave a Reply " form is there
  4. Without filling anything, click on submit
  5. Notice the behavior

Target URL

https://www.newegg.com/insider/

Screenshots or Screen Capture

https://user-images.githubusercontent.com/5712602/128228779-19cc5529-2be1-4bbf-801f-1608e4c7aadb.mov

Current Results

Required field errors are shown inly after submitting the form

Expected Results

"Leave a Reply" form should flag the required fields before submitting the form on newegg insider articles

Browser version and OS version

rajanmourya commented 3 years ago

https://user-images.githubusercontent.com/42939505/128244946-a39de29c-23df-4aee-aff8-ef6e374b729d.mp4

It's not a bug if you see any other form also the validations are performed after submitting the form only, It's just that error is shown on same page but here it's on different page that's it.

codejamtc commented 3 years ago

Not a functional bug; because the application handles the error properly with correct validations. I think the article pages are using a WordPress environment so that is why the comment section behaves like this.

Submitter: 0 Points Challenger: 8 Points

rprakash20 commented 3 years ago

In WordPress forms as well, the fields can be marked required .