Skip to content

Add unit tests back to pipeline & improve VSCode integration #467

Add unit tests back to pipeline & improve VSCode integration

Add unit tests back to pipeline & improve VSCode integration #467

Triggered via pull request January 10, 2024 17:16
Status Failure
Total duration 4m 22s
Artifacts

tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Unit tests: spec/requests/media_spec.rb#L50
Media #search_by can search for all (released) media Failure/Error: search_results = response.body .match(/(?<=search_results.innerHTML = ').*(?=';)/)[0] NoMethodError: undefined method `[]' for nil:NilClass .match(/(?<=search_results.innerHTML = ').*(?=';)/)[0] ^^^
Unit tests: spec/requests/media_spec.rb#L59
Media #search_by can search for media by title Failure/Error: search_results = response.body .match(/(?<=search_results.innerHTML = ').*(?=';)/)[0] NoMethodError: undefined method `[]' for nil:NilClass .match(/(?<=search_results.innerHTML = ').*(?=';)/)[0] ^^^
Unit tests: spec/requests/media_spec.rb#L69
Media #search_by can search for media by sort Failure/Error: search_results = response.body .match(/(?<=search_results.innerHTML = ').*(?=';)/)[0] NoMethodError: undefined method `[]' for nil:NilClass .match(/(?<=search_results.innerHTML = ').*(?=';)/)[0] ^^^
Unit tests: spec/requests/media_spec.rb#L80
Media #search_by can search for media by tag Failure/Error: search_results = response.body .match(/(?<=search_results.innerHTML = ').*(?=';)/)[0] NoMethodError: undefined method `[]' for nil:NilClass .match(/(?<=search_results.innerHTML = ').*(?=';)/)[0] ^^^
Unit tests: spec/requests/media_spec.rb#L91
Media #search_by can do combined search with tagoperator "or" and description Failure/Error: search_results = response.body .match(/(?<=search_results.innerHTML = ').*(?=';)/)[0] NoMethodError: undefined method `[]' for nil:NilClass .match(/(?<=search_results.innerHTML = ').*(?=';)/)[0] ^^^
Unit tests: spec/requests/media_spec.rb#L102
Media #search_by can do search with tagoperator "and" and description Failure/Error: search_results = response.body .match(/(?<=search_results.innerHTML = ').*(?=';)/)[0] NoMethodError: undefined method `[]' for nil:NilClass .match(/(?<=search_results.innerHTML = ').*(?=';)/)[0] ^^^
Unit tests: spec/requests/media_spec.rb#L115
Media #search_by can search for all media with tags by using tagoperator "and" Failure/Error: search_results = response.body .match(/(?<=search_results.innerHTML = ').*(?=';)/)[0] NoMethodError: undefined method `[]' for nil:NilClass .match(/(?<=search_results.innerHTML = ').*(?=';)/)[0] ^^^
Unit tests: spec/requests/media_spec.rb#L124
Media #search_by can search by teacher Failure/Error: search_results = response.body .match(/(?<=search_results.innerHTML = ').*(?=';)/)[0] NoMethodError: undefined method `[]' for nil:NilClass .match(/(?<=search_results.innerHTML = ').*(?=';)/)[0] ^^^
Unit tests: spec/requests/media_spec.rb#L134
Media #search_by can search for media of subscribed lectures Failure/Error: search_results = response.body .match(/(?<=search_results.innerHTML = ').*(?=';)/)[0] NoMethodError: undefined method `[]' for nil:NilClass .match(/(?<=search_results.innerHTML = ').*(?=';)/)[0] ^^^
Unit tests: spec/requests/media_spec.rb#L144
Media #search_by can search for media of custom lecture Failure/Error: search_results = response.body .match(/(?<=search_results.innerHTML = ').*(?=';)/)[0] NoMethodError: undefined method `[]' for nil:NilClass .match(/(?<=search_results.innerHTML = ').*(?=';)/)[0] ^^^
Unit tests: spec/models/talk_tag_join_spec.rb#L4
TalkTagJoin add some examples to (or delete) /usr/src/app/spec/models/talk_tag_join_spec.rb Skipped: Not yet implemented