selenium-ide icon indicating copy to clipboard operation
selenium-ide copied to clipboard

Validate the maxium length of project name

Open wycabuoncha opened this issue 6 years ago • 1 comments

🐛 Bug Report

Description of the bug

  • The project name is not validated for length. One can enter very long name in the project name field and save the project.
  • Entering very long name makes the window content to shift towards left completely.

Steps to reproduce the behavior:

  1. Open an existing project or create a new project.
  2. At the top of the project window, attempt to edit the project name by entering a very long name.
  3. Observe what happens to selenium IDE window.
  4. Attempt to save the project with the very long name.

Uploading Untitled.png…

Expected behavior

  • The project name should be validated for maximum length.
  • Appropriate message should be displayed when length validation fails.
  • If the invalid length is entered, IDE should restrict user from saving the project.

Project file reproducing this issue (highly encouraged)

N/A

Environment

OS: Windows 10 Selenium IDE Version: 3.8.0 Selenium SIDE Runner Version: N/A

Browser: Browser Version: Firefox 67.0

wycabuoncha avatar May 31 '19 17:05 wycabuoncha

I had a discussion with @harsha509 and we will be keeping the max length to be 60.

If the length exceeds then the IDE will return an error.

Delta456 avatar Sep 06 '24 05:09 Delta456