diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-03 18:24:33 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-03 18:24:33 +0300 |
commit | 2a7fd3827b0838a900399b0c3440942cdaa09c75 (patch) | |
tree | adb9315f24704a322c0c3e05da2f2b8e835fbf60 /qa | |
parent | 6e228f38c37c4c7b6d6be648ae2664ebfb5c3c80 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/specs/features/browser_ui/3_create/repository/branch_with_unusual_name_spec.rb | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/qa/qa/specs/features/browser_ui/3_create/repository/branch_with_unusual_name_spec.rb b/qa/qa/specs/features/browser_ui/3_create/repository/branch_with_unusual_name_spec.rb index 679f273d0f4..afa9be034eb 100644 --- a/qa/qa/specs/features/browser_ui/3_create/repository/branch_with_unusual_name_spec.rb +++ b/qa/qa/specs/features/browser_ui/3_create/repository/branch_with_unusual_name_spec.rb @@ -30,14 +30,8 @@ module QA Page::Project::Show.perform do |show| show.switch_to_branch(branch_name) - # It takes a few seconds for console errors to appear - sleep 3 - - errors = page.driver.browser.logs.get(:browser) - .select { |e| e.level == "SEVERE" } - .to_a - - raise("Console error(s):\n#{errors.join("\n\n")}") if errors.present? + # To prevent false positives: https://gitlab.com/gitlab-org/gitlab/-/issues/383863 + expect(show).to have_no_content('An error occurred') show.click_file('test-folder') |