E2E test: don't reload page during code suggestion in web ide
What does this MR do and why?
Resolves #441685 (closed)
When waiting for code suggestions to load we don't want to reload the page. This causes a Are you sure you want to leave this page?
alert to be displayed and the test to fail when using wait_until
.
How to set up and validate locally
This is probably easiest tested against staging where code suggestions are enabled:
GITLAB_QA_USER_AGENT=1P GITLAB_USERNAME=gitlab-qa GITLAB_PASSWORD=1P GITLAB_QA_ACCESS_TOKEN=1P QA_GITLAB_URL=https://staging.gitlab.com bundle exec rspec qa/specs/features/ee/browser_ui/3_create/web_ide/code_suggestions_in_web_ide_spec.rb
Edited by Jay McCure