E2E - add new upload file VSCode spec vscode WebIDE
What does this MR do and why?
A rewrite of upload_new_file_in_web_ide_spec.rb for the new vscode WebIDE.
Issue Discussion: #382146 (closed)
- Upload a file when the same name already exists
- Go to vscode webide
- Right click and upload from file browser
- Confirm that there's a file already existing
- Upload new text_file.txt
- Go to vscode webide
- Right click and upload from file browser
- Commit and Push to branch
- Go to create MR and verify changes are there on the MR page
- Upload new image file 'dk.png'
- Go to vscode webide
- Right click and upload from file browser
- Commit and Push to branch
- Go to create MR and verify changes are there on the MR page
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
Open Rails console and run Feature.enable(:vscode_web_ide)
to enable the Feature Flag if your local instance doesn't already have vscode WebIDE on (It should be enabled globally now by default)
run:
bundle exec bin/qa Test::Instance::All http://gdk.test:3000/ qa/specs/features/browser_ui/3_create/web_ide_new/upload_new_file_in_web_ide_spec.rb
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Jason Zhang