Failure in `qa/specs/features/browser_ui/3_create/repository/push_protected_branch_spec.rb` / `element click intercepted: Element [...] is not clickable at point (857, 826). Other element would receive the click`
As seen in https://gitlab.com/gitlab-org/quality/nightly/-/jobs/403340739:
6115 1) Create Protected branch support when developers and maintainers are not allowed to push to a protected branch user without push rights fails to push to the protected branch
6116 Failure/Error:
6117 Resource::ProtectedBranch.fabricate! do |resource|
6118 resource.branch_name = branch_name
6119 resource.project = project
6120 resource.allowed_to_push = allowed_to_push
6121 end
6122
6123 Selenium::WebDriver::Error::ElementClickInterceptedError:
6124 element click intercepted: Element <button class="dropdown-menu-toggle js-allowed-to-push qa-allowed-to-push-select wide" type="button" data-field-name="protected_branch[push_access_levels_attributes][0][access_level]" data-input-id="push_access_levels_attributes" data-toggle="dropdown">...</button> is not clickable at point (857, 826). Other element would receive the click: <a href="#" data-group="roles" data-index="0">...</a>
6125 (Session info: headless chrome=79.0.3945.117)
6126 # #0 0x561f262a0479 <unknown>
6127 # /usr/local/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/response.rb:72:in `assert_ok'
6128 # /usr/local/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/response.rb:34:in `initialize'
6129 # /usr/local/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/http/common.rb:88:in `new'
6130 # /usr/local/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/http/common.rb:88:in `create_response'
6131 # /usr/local/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/http/default.rb:114:in `request'
6132 # /usr/local/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/http/common.rb:64:in `call'
6133 # /usr/local/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/bridge.rb:167:in `execute'
6134 # /usr/local/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/w3c/bridge.rb:567:in `execute'
6135 # /usr/local/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/w3c/bridge.rb:371:in `click_element'
6136 # /usr/local/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/element.rb:74:in `click'
6137 # /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/selenium/node.rb:101:in `click'
6138 # /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/selenium/extensions/file_input_click_emulation.rb:6:in `click'
6139 # /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/selenium/nodes/chrome_node.rb:38:in `click'
6140 # /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/node/element.rb:167:in `block in click'
6141 # /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/node/element.rb:594:in `block in perform_click_action'
6142 # /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/node/base.rb:83:in `synchronize'
6143 # /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/node/element.rb:594:in `perform_click_action'
6144 # /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/node/element.rb:166:in `click'
6145 # ./qa/page/base.rb:119:in `click_element'
6146 # ./qa/support/page/logging.rb:81:in `click_element'
6147 # ./qa/page/project/settings/protected_branches.rb:55:in `select_allowed'
6148 # ./qa/page/project/settings/protected_branches.rb:45:in `select_allowed_to_push'
6149 # ./qa/resource/protected_branch.rb:51:in `block (2 levels) in fabricate!'
6150 # ./qa/scenario/actable.rb:16:in `perform'
6151 # ./qa/page/project/settings/repository.rb:30:in `block in expand_protected_branches'
6152 # ./qa/page/settings/common.rb:20:in `block in expand_section'
6153 # ./qa/page/base.rb:234:in `block in within_element'
6154 # /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/session.rb:343:in `within'
6155 # ./qa/page/base.rb:233:in `within_element'
6156 # ./qa/support/page/logging.rb:150:in `within_element'
6157 # ./qa/page/settings/common.rb:11:in `expand_section'
6158 # ./qa/page/project/settings/repository.rb:29:in `expand_protected_branches'
6159 # ./qa/resource/protected_branch.rb:48:in `block in fabricate!'
6160 # ./qa/scenario/actable.rb:16:in `perform'
6161 # ./qa/resource/protected_branch.rb:47:in `fabricate!'
6162 # ./qa/resource/base.rb:30:in `block (2 levels) in fabricate_via_browser_ui!'
6163 # ./qa/resource/base.rb:135:in `log_fabrication'
6164 # ./qa/resource/base.rb:30:in `block in fabricate_via_browser_ui!'
6165 # ./qa/resource/base.rb:118:in `do_fabricate!'
6166 # ./qa/resource/base.rb:29:in `fabricate_via_browser_ui!'
6167 # ./qa/resource/base.rb:21:in `rescue in fabricate!'
6168 # ./qa/resource/base.rb:18:in `fabricate!'
6169 # ./qa/specs/features/browser_ui/3_create/repository/push_protected_branch_spec.rb:43:in `create_protected_branch'
6170 # ./qa/specs/features/browser_ui/3_create/repository/push_protected_branch_spec.rb:34:in `block (4 levels) in <module:QA>'
6171 # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
6172 # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
6173 # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
6174 # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
6175 # ./spec/spec_helper.rb:68:in `block (2 levels) in <top (required)>'
6176 # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
6177 # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
6178 # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
6179 # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
6180 # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
6181 # ./qa/specs/runner.rb:69:in `perform'
6182 # ./qa/scenario/template.rb:10:in `block in perform'
6183 # ./qa/scenario/template.rb:8:in `tap'
6184 # ./qa/scenario/template.rb:8:in `perform'
6185 # ./qa/scenario/template.rb:33:in `perform'
6186 # ./qa/scenario/template.rb:10:in `block in perform'
6187 # ./qa/scenario/template.rb:8:in `tap'
6188 # ./qa/scenario/template.rb:8:in `perform'
6189 # ./qa/scenario/bootable.rb:28:in `launch!'
6190 # ------------------
6191 # --- Caused by: ---
6192 # NotImplementedError:
6193 # NotImplementedError
6194 # ./qa/resource/base.rb:41:in `fabricate_via_api!'
6195 2) Create Protected branch support when developers and maintainers are allowed to push to a protected branch user with push rights successfully pushes to the protected branch
6196 Failure/Error:
6197 Resource::ProtectedBranch.fabricate! do |resource|
6198 resource.branch_name = branch_name
6199 resource.project = project
6200 resource.allowed_to_push = allowed_to_push
6201 end
6202
6203 Selenium::WebDriver::Error::ElementClickInterceptedError:
6204 element click intercepted: Element <button class="dropdown-menu-toggle js-allowed-to-push qa-allowed-to-push-select wide" type="button" data-field-name="protected_branch[push_access_levels_attributes][0][access_level]" data-input-id="push_access_levels_attributes" data-toggle="dropdown">...</button> is not clickable at point (857, 826). Other element would receive the click: <a href="#" data-group="roles" data-index="0">...</a>
6205 (Session info: headless chrome=79.0.3945.117)
6206 # #0 0x561f262a0479 <unknown>
6207 # /usr/local/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/response.rb:72:in `assert_ok'
6208 # /usr/local/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/response.rb:34:in `initialize'
6209 # /usr/local/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/http/common.rb:88:in `new'
6210 # /usr/local/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/http/common.rb:88:in `create_response'
6211 # /usr/local/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/http/default.rb:114:in `request'
6212 # /usr/local/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/http/common.rb:64:in `call'
6213 # /usr/local/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/bridge.rb:167:in `execute'
6214 # /usr/local/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/w3c/bridge.rb:567:in `execute'
6215 # /usr/local/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/remote/w3c/bridge.rb:371:in `click_element'
6216 # /usr/local/bundle/gems/selenium-webdriver-3.142.6/lib/selenium/webdriver/common/element.rb:74:in `click'
6217 # /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/selenium/node.rb:101:in `click'
6218 # /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/selenium/extensions/file_input_click_emulation.rb:6:in `click'
6219 # /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/selenium/nodes/chrome_node.rb:38:in `click'
6220 # /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/node/element.rb:167:in `block in click'
6221 # /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/node/element.rb:594:in `block in perform_click_action'
6222 # /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/node/base.rb:83:in `synchronize'
6223 # /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/node/element.rb:594:in `perform_click_action'
6224 # /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/node/element.rb:166:in `click'
6225 # ./qa/page/base.rb:119:in `click_element'
6226 # ./qa/support/page/logging.rb:81:in `click_element'
6227 # ./qa/page/project/settings/protected_branches.rb:55:in `select_allowed'
6228 # ./qa/page/project/settings/protected_branches.rb:45:in `select_allowed_to_push'
6229 # ./qa/resource/protected_branch.rb:51:in `block (2 levels) in fabricate!'
6230 # ./qa/scenario/actable.rb:16:in `perform'
6231 # ./qa/page/project/settings/repository.rb:30:in `block in expand_protected_branches'
6232 # ./qa/page/settings/common.rb:20:in `block in expand_section'
6233 # ./qa/page/base.rb:234:in `block in within_element'
6234 # /usr/local/bundle/gems/capybara-3.29.0/lib/capybara/session.rb:343:in `within'
6235 # ./qa/page/base.rb:233:in `within_element'
6236 # ./qa/support/page/logging.rb:150:in `within_element'
6237 # ./qa/page/settings/common.rb:11:in `expand_section'
6238 # ./qa/page/project/settings/repository.rb:29:in `expand_protected_branches'
6239 # ./qa/resource/protected_branch.rb:48:in `block in fabricate!'
6240 # ./qa/scenario/actable.rb:16:in `perform'
6241 # ./qa/resource/protected_branch.rb:47:in `fabricate!'
6242 # ./qa/resource/base.rb:30:in `block (2 levels) in fabricate_via_browser_ui!'
6243 # ./qa/resource/base.rb:135:in `log_fabrication'
6244 # ./qa/resource/base.rb:30:in `block in fabricate_via_browser_ui!'
6245 # ./qa/resource/base.rb:118:in `do_fabricate!'
6246 # ./qa/resource/base.rb:29:in `fabricate_via_browser_ui!'
6247 # ./qa/resource/base.rb:21:in `rescue in fabricate!'
6248 # ./qa/resource/base.rb:18:in `fabricate!'
6249 # ./qa/specs/features/browser_ui/3_create/repository/push_protected_branch_spec.rb:43:in `create_protected_branch'
6250 # ./qa/specs/features/browser_ui/3_create/repository/push_protected_branch_spec.rb:22:in `block (4 levels) in <module:QA>'
6251 # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
6252 # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
6253 # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
6254 # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
6255 # ./spec/spec_helper.rb:68:in `block (2 levels) in <top (required)>'
6256 # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
6257 # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
6258 # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
6259 # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
6260 # /usr/local/bundle/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
6261 # ./qa/specs/runner.rb:69:in `perform'
6262 # ./qa/scenario/template.rb:10:in `block in perform'
6263 # ./qa/scenario/template.rb:8:in `tap'
6264 # ./qa/scenario/template.rb:8:in `perform'
6265 # ./qa/scenario/template.rb:33:in `perform'
6266 # ./qa/scenario/template.rb:10:in `block in perform'
6267 # ./qa/scenario/template.rb:8:in `tap'
6268 # ./qa/scenario/template.rb:8:in `perform'
6269 # ./qa/scenario/bootable.rb:28:in `launch!'
6270 # ------------------
6271 # --- Caused by: ---
6272 # NotImplementedError:
6273 # NotImplementedError
6274 # ./qa/resource/base.rb:41:in `fabricate_via_api!'