Flaky spec failure: bundle exec rspec spec/features/issues/form_spec.rb
Summary
Job failure was reported in Thursday 2023-01-19 23:33 UTC - `gitlab-org/git... (gitlab-org/quality/engineering-productivity/master-broken-incidents#654 - closed) with the following error:
Failures:
1) New/edit issue new issue with query parameters fills the description from the issuable_template query parameter
Got 1 failure and 1 other error:
1.1) Failure/Error: expect(find('#issue_description').value).to match('description from template')
expected "" to match "description from template"
# ./spec/features/issues/form_spec.rb:360:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:415:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:407:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:403:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:59:in `with_raw_context'
# ./spec/spec_helper.rb:403:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:239:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'
# ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'
2) New/edit issue new issue with query parameters fills the description from the issuable_template and issue[description] query parameters
Got 1 failure and 1 other error:
2.1) Failure/Error: expect(find('#issue_description').value).to match('description from template\ndescription from query parameter')
expected "description from query parameter" to match "description from template\\ndescription from query parameter"
# ./spec/features/issues/form_spec.rb:367:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:415:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:407:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:403:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:59:in `with_raw_context'
# ./spec/spec_helper.rb:403:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:239:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'
# ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'
Steps to reproduce
bundle exec rspec spec/features/issues/form_spec.rb:356
bundle exec rspec spec/features/issues/form_spec.rb:363
Proposed Resolution
Please refer to the Resolution guidance to learn more about resolution of broken master.