Skip to content

E2E test: avoid right click menu closing web ide spec

Jay McCure requested to merge jmc-ide-upload-spec into master

What does this MR do and why?

Attempts to resolve:

These failures were caused by the right click menu not being open when trying to click the Upload menu item. I suspect that the right click menu is closed if the VS Code module is still loading ( i can recreate this manually by right clicking immediately when vs code is loading). In this MR we retry the right click if the menu isn't present. Also made these related methods private.

How to set up and validate locally

GITLAB_QA_ADMIN_ACCESS_TOKEN=x QA_LOG_LEVEL=DEBUG QA_GITLAB_URL=https://gdk.test:3443  GITLAB_QA_PASSWORD_1=x bundle exec rspec qa/specs/features/browser_ui/3_create/web_ide/upload_new_file_in_web_ide_spec.rb
Edited by Jay McCure

Merge request reports

Loading