Fix failed job of form_spec.rb
What does this MR do and why?
What
Resolve #3276 (closed)
Fix failed job https://jihulab.com/gitlab-cn/gitlab/-/jobs/8524271
1.1) Failure/Error: super
Selenium::WebDriver::Error::ElementClickInterceptedError:
element click intercepted: Element <button id="dropdown-toggle-btn-6" data-testid="base-dropdown-toggle" aria-haspopup="listbox" aria-controls="base-dropdown-8" aria-labelledby="dropdown-toggle-btn-6" listeners="[object Object]" type="button" class="btn btn-default btn-md btn-block gl-button gl-text-gray-500! gl-new-dropdown-toggle">...</button> is not clickable at point (397, 391). Other element would receive the click: <div class="popover-body">...</div>
(Session info: headless chrome=113.0.5672.126)
Why
The pop-up window blocked the button below, causing the test to report an error.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
由 路志远 编辑于