Skip to content

AB tests for Self Assessment videos #1139

AB tests for Self Assessment videos

AB tests for Self Assessment videos #1139

Triggered via pull request December 22, 2023 12:37
Status Failure
Total duration 5m 37s
Artifacts

ci.yml

on: pull_request
CodeQL SAST scan  /  Analyze
1m 30s
CodeQL SAST scan / Analyze
Dependency Review scan  /  dependency-review-pr
4s
Dependency Review scan / dependency-review-pr
Dependency Review scan  /  dependency-review-push
0s
Dependency Review scan / dependency-review-push
Security Analysis  /  Run Brakeman
9s
Security Analysis / Run Brakeman
Lint SCSS  /  Run Stylelint
21s
Lint SCSS / Run Stylelint
Lint JavaScript  /  Run Standardx
14s
Lint JavaScript / Run Standardx
Lint Ruby  /  Run RuboCop
16s
Lint Ruby / Run RuboCop
Test JavaScript  /  Run Jasmine
35s
Test JavaScript / Run Jasmine
Test Ruby  /  Run Minitest
5m 26s
Test Ruby / Run Minitest
Fit to window
Zoom out
Zoom in

Annotations

11 errors
Lint Ruby / Run RuboCop: app/controllers/content_items_controller.rb#L308
Layout/ClosingParenthesisIndentation: Indent `)` to column 6 (not 8)
Lint Ruby / Run RuboCop: test/controllers/content_items_controller_test.rb#L379
Style/RedundantInterpolation: Prefer `to_s` over string interpolation.
Lint Ruby / Run RuboCop: test/controllers/content_items_controller_test.rb#L394
Style/RedundantInterpolation: Prefer `to_s` over string interpolation.
Lint Ruby / Run RuboCop: test/controllers/content_items_controller_test.rb#L409
Style/RedundantInterpolation: Prefer `to_s` over string interpolation.
Lint Ruby / Run RuboCop: test/controllers/content_items_controller_test.rb#L457
Layout/IndentationConsistency: Inconsistent indentation detected. (https://rubystyle.guide#spaces-indentation, https://edgeguides.rubyonrails.org/contributing_to_ruby_on_rails.html#follow-the-coding-conventions)
Lint Ruby / Run RuboCop: test/controllers/content_items_controller_test.rb#L457
Layout/IndentationWidth: Use 2 (not 0) spaces for indentation. (https://rubystyle.guide#spaces-indentation)
Lint Ruby / Run RuboCop: test/controllers/content_items_controller_test.rb#L470
Layout/BlockAlignment: `end` at 470, 2 is not aligned with `test "AB test replaces content on the log-in-file-self-assessment-tax-return page with default" do` at 457, 0.
Lint Ruby / Run RuboCop: test/controllers/content_items_controller_test.rb#L514
Style/RedundantInterpolation: Prefer `to_s` over string interpolation.
Lint Ruby / Run RuboCop: test/controllers/content_items_controller_test.rb#L529
Style/RedundantInterpolation: Prefer `to_s` over string interpolation.
Lint Ruby / Run RuboCop: test/controllers/content_items_controller_test.rb#L544
Style/RedundantInterpolation: Prefer `to_s` over string interpolation.
Test Ruby / Run Minitest
Process completed with exit code 1.