Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: 'No file chosen' message persists after file selection #74

Open
SiriChandanaGarimella opened this issue Oct 1, 2024 · 2 comments · May be fixed by #117
Open

BUG: 'No file chosen' message persists after file selection #74

SiriChandanaGarimella opened this issue Oct 1, 2024 · 2 comments · May be fixed by #117
Assignees
Labels

Comments

@SiriChandanaGarimella
Copy link
Collaborator

Describe the bug
'No file chosen' message is displayed even after a file has been selected in the file upload field.

To Reproduce
Steps to reproduce the behavior:

  1. Navigate to the URL - http://localhost:3000/temp
  2. Go to the file upload section of the application
  3. Click on "Choose File" to select a file
  4. Select the ORCA log file as the input from the test data folder
  5. Observe the text next to the "Choose File" button

Expected behavior

  1. After selecting a file, the filename should be displayed instead of 'No file chosen'.
  2. Once the upload button is clicked, the filename should be displayed under ' Uploaded Files:' and the 'No file chosen' message should be displayed next to 'Choose File'

Screenshots
image

image

Acceptance Criteria

  1. When a file is selected, the 'No file chosen' message is immediately replaced with the name of the selected file.
  2. Once the file is uploaded successfully, the filename should be displayed under 'Uploaded Files:' and the 'No file chosen' message should be displayed next to 'Choose File'
  3. The correct filename should be displayed regardless of the file type or the length of the filename.
  4. This behavior should be consistent across different browsers (Chrome, Firefox, Safari, Edge).
  5. Add/update the unit test cases accordingly
@yashathwani
Copy link

Would like to work on this please assign this to me !!

@SiriChandanaGarimella
Copy link
Collaborator Author

@yashathwani - Yes, sure! Please follow the contribution guide, and feel free to reach out if you face any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants