Failure in browser_ui/3_create/merge_request/squash_merge_request_spec.rb | Create Merge request squashing user squashes commits while merging
<!--- Before opening a new QA failure issue, make sure to first search for it in the QA failures board: https://gitlab.com/groups/gitlab-org/-/boards/1385578 The issue should have the following: - The relative path of the failing spec file in the title, e.g. if the login test fails, include `qa/specs/features/browser_ui/1_manage/login/log_in_spec.rb` in the title. This is required so that existing issues can easily be found by searching for the spec file. - If the issue is about multiple test failures, include the path for each failing spec file in the description. - A link to the failing job. - The stack trace from the job's logs in the "Stack trace" section below. - A screenshot (if available), and HTML capture (if available), in the "Screenshot / HTML page" section below. - A link to the corresponding test case(s) in the summary. ---> ### Summary Failing job(s): https://gitlab.com/gitlab-org/distribution/reference-architecture-tester/-/jobs/8058313632 Failing spec(s): Create Merge request squashing user squashes commits while merging Corresponding test case(s): https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347744 ### Stack trace ```ruby Failure/Error: merge_request_page.mark_to_squash Capybara::ElementNotFound: Unable to find css "[data-testid=\"squash-checkbox\"]" # ./qa/page/base.rb:146:in `find_element' # ./qa/support/page/logging.rb:39:in `block in find_element' # ./qa/support/page/logging.rb:214:in `log_slow_code' # ./qa/support/page/logging.rb:39:in `find_element' # ./qa/page/base.rb:175:in `check_element' # ./qa/support/page/logging.rb:56:in `block in check_element' # ./qa/support/page/logging.rb:214:in `log_slow_code' # ./qa/support/page/logging.rb:56:in `check_element' # ./qa/page/merge_request/show.rb:300:in `mark_to_squash' # ./qa/specs/features/browser_ui/3_create/merge_request/squash_merge_request_spec.rb:35:in `block (4 levels) in <module:QA>' # ./qa/scenario/actable.rb:16:in `perform' # ./qa/specs/features/browser_ui/3_create/merge_request/squash_merge_request_spec.rb:30:in `block (3 levels) in <module:QA>' # /home/gitlab/spec/support/fast_quarantine.rb:22:in `block (2 levels) in <top (required)>' # ./qa/specs/knapsack_runner.rb:23:in `run' # ./qa/specs/runner.rb:77:in `run_rspec' # ./qa/specs/runner.rb:56:in `perform' # ./qa/scenario/template.rb:10:in `block in perform' # ./qa/scenario/template.rb:8:in `perform' # ./qa/scenario/template.rb:35:in `perform' # ./qa/scenario/template.rb:10:in `block in perform' # ./qa/scenario/template.rb:8:in `perform' # ./qa/scenario/bootable.rb:52:in `launch!' ``` ### Screenshot / HTML page ![create_merge_request_squashing_user_squashes_commits_while_merging_2024-10-11-04-30-33.821](/uploads/aa22cb75e81a91e6223991a04b5f77c4/create_merge_request_squashing_user_squashes_commits_while_merging_2024-10-11-04-30-33.821.png) ### Possible fixes <!-- Default due date. --> <!-- Base labels. --> <!-- Work classification type label, please apply ignore type label until the investigation is complete and an [issue type](https://about.gitlab.com/handbook/engineering/metrics/#work-type-classification) is determined.--> <!-- Test failure type label, please use just one.--> <!-- Choose the stage that appears in the test path, e.g. ~"devops::create" for `qa/specs/features/browser_ui/3_create/web_ide/add_file_template_spec.rb`. --> <!-- Select a label for where the failure was found, e.g. if the failure occurred in a nightly pipeline, select ~"found:nightly". -->
issue