selenium-ide
selenium-ide copied to clipboard
Validate the maxium length of project name
🐛 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:
- Open an existing project or create a new project.
- At the top of the project window, attempt to edit the project name by entering a very long name.
- Observe what happens to selenium IDE window.
- Attempt to save the project with the very long name.
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
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.