Flaky tests in spec/features/projects/ci/lint_spec.rb
Failures:
1) CI Lint YAML parsing behaves like validates the YAML YAML is correct parses Yaml and displays the jobs
Failure/Error: find(content_selector).text.present?
Capybara::ElementNotFound:
Unable to find visible css ".content .view-lines"
Shared Example Group: "validates the YAML" called from ./spec/features/projects/ci/lint_spec.rb:60
# ./spec/features/projects/ci/lint_spec.rb:21:in `block (3 levels) in <top (required)>'
# ./spec/support/helpers/wait_helpers.rb:10:in `block in wait_for'
# ./spec/support/helpers/wait_helpers.rb:9:in `loop'
# ./spec/support/helpers/wait_helpers.rb:9:in `wait_for'
# ./spec/features/projects/ci/lint_spec.rb:20:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:326:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:317:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:313:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:313:in `block (2 levels) in <top (required)>'
2) CI Lint YAML parsing behaves like validates the YAML YAML is incorrect displays information about an error
Failure/Error: find(content_selector).text.present?
Capybara::ElementNotFound:
Unable to find visible css ".content .view-lines"
Shared Example Group: "validates the YAML" called from ./spec/features/projects/ci/lint_spec.rb:60
# ./spec/features/projects/ci/lint_spec.rb:21:in `block (3 levels) in <top (required)>'
# ./spec/support/helpers/wait_helpers.rb:10:in `block in wait_for'
# ./spec/support/helpers/wait_helpers.rb:9:in `loop'
# ./spec/support/helpers/wait_helpers.rb:9:in `wait_for'
# ./spec/features/projects/ci/lint_spec.rb:20:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:326:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:317:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:313:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:313:in `block (2 levels) in <top (required)>'
3) CI Lint YAML parsing when Dry Run is checked behaves like validates the YAML YAML is correct parses Yaml and displays the jobs
Failure/Error: find(content_selector).text.present?
Capybara::ElementNotFound:
Unable to find visible css ".content .view-lines"
Shared Example Group: "validates the YAML" called from ./spec/features/projects/ci/lint_spec.rb:67
# ./spec/features/projects/ci/lint_spec.rb:21:in `block (3 levels) in <top (required)>'
# ./spec/support/helpers/wait_helpers.rb:10:in `block in wait_for'
# ./spec/support/helpers/wait_helpers.rb:9:in `loop'
# ./spec/support/helpers/wait_helpers.rb:9:in `wait_for'
# ./spec/features/projects/ci/lint_spec.rb:20:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:326:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:317:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:313:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:313:in `block (2 levels) in <top (required)>'
4) CI Lint YAML parsing when Dry Run is checked behaves like validates the YAML YAML is incorrect displays information about an error
Failure/Error: find(content_selector).text.present?
Capybara::ElementNotFound:
Unable to find visible css ".content .view-lines"
Shared Example Group: "validates the YAML" called from ./spec/features/projects/ci/lint_spec.rb:67
# ./spec/features/projects/ci/lint_spec.rb:21:in `block (3 levels) in <top (required)>'
# ./spec/support/helpers/wait_helpers.rb:10:in `block in wait_for'
# ./spec/support/helpers/wait_helpers.rb:9:in `loop'
# ./spec/support/helpers/wait_helpers.rb:9:in `wait_for'
# ./spec/features/projects/ci/lint_spec.rb:20:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:326:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:317:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:313:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:313:in `block (2 levels) in <top (required)>'
5) CI Lint YAML clearing YAML is present YAML content is cleared
Failure/Error: find(content_selector).text.present?
Capybara::ElementNotFound:
Unable to find visible css ".content .view-lines"
# ./spec/features/projects/ci/lint_spec.rb:21:in `block (3 levels) in <top (required)>'
# ./spec/support/helpers/wait_helpers.rb:10:in `block in wait_for'
# ./spec/support/helpers/wait_helpers.rb:9:in `loop'
# ./spec/support/helpers/wait_helpers.rb:9:in `wait_for'
# ./spec/features/projects/ci/lint_spec.rb:20:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:326:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:317:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:313:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:313:in `block (2 levels) in <top (required)>'
Finished in 33 minutes 20 seconds (files took 45.69 seconds to load)
252 examples, 5 failures
Failed examples:
rspec './spec/features/projects/ci/lint_spec.rb[1:1:1:1:1]' # CI Lint YAML parsing behaves like validates the YAML YAML is correct parses Yaml and displays the jobs
rspec './spec/features/projects/ci/lint_spec.rb[1:1:1:2:1]' # CI Lint YAML parsing behaves like validates the YAML YAML is incorrect displays information about an error
rspec './spec/features/projects/ci/lint_spec.rb[1:1:2:1:1:1]' # CI Lint YAML parsing when Dry Run is checked behaves like validates the YAML YAML is correct parses Yaml and displays the jobs
rspec './spec/features/projects/ci/lint_spec.rb[1:1:2:1:2:1]' # CI Lint YAML parsing when Dry Run is checked behaves like validates the YAML YAML is incorrect displays information about an error
rspec ./spec/features/projects/ci/lint_spec.rb:81 # CI Lint YAML clearing YAML is present YAML content is cleared
https://gitlab.com/gitlab-org/gitlab/-/jobs/962251182