Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-10-26 03:09:31 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-10-26 03:09:31 +0300
commit9a02cb29182ae369f98a8b04840144c67b544a7a (patch)
tree60570d599fcdda02ba8f4cf1dbc88da911816084 /qa/qa/page/project
parent098444d917f660f870daa75e9166dcb735573ad4 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'qa/qa/page/project')
-rw-r--r--qa/qa/page/project/web_ide/vscode.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/qa/qa/page/project/web_ide/vscode.rb b/qa/qa/page/project/web_ide/vscode.rb
index 0997064c19f..63dc75b523f 100644
--- a/qa/qa/page/project/web_ide/vscode.rb
+++ b/qa/qa/page/project/web_ide/vscode.rb
@@ -147,7 +147,7 @@ module QA
end
end
- wait_for_requests
+ Support::WaitForRequests.wait_for_requests(finish_loading_wait: 30)
Support::Waiter.wait_until(max_duration: 10, reload_page: page, retry_on_exception: true) do
within_vscode_editor do
# Check for webide file_explorer element
@@ -232,8 +232,9 @@ module QA
end
end
- def add_file_content(prompt_data)
+ def add_prompt_into_a_file(file_name, prompt_data)
within_vscode_editor do
+ open_file_from_explorer(file_name)
click_inside_editor_frame
within_file_editor do
send_keys(:enter, :enter, prompt_data)