Skip to content

11403: remove old tests #831

11403: remove old tests

11403: remove old tests #831

Triggered via push November 29, 2023 13:31
Status Failure
Total duration 21m 4s
Artifacts

tests.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 12 warnings
Tests: spec/features/responses/location_picker_spec.rb#L25
response form location picker picking a location
Tests: spec/features/users/login_spec.rb#L24
login should return a user-friendly error when stale Failure/Error: expect(page).to have_current_path(login_path(locale: "en")) expected "/es/login" to equal "/en/login"
Tests: spec/models/setting_spec.rb#L131
Setting.build_default with mission copies settings from admin mode setting Failure/Error: Setting.root.update!( default_outgoing_sms_adapter: "FrontlineCloud", frontlinecloud_api_key: "ab123456", incoming_sms_numbers_str: "+1234567890", preferred_locales_str: "en,fr", theme: "elmo", timezone: "Saskatchewan", twilio_account_sid: "cd123456", twilio_auth_token: "ef123456", twilio_phone_number: "+2345678900" FrozenError: can't modify frozen attributes
Tests: spec/models/setting_spec.rb#L64
Setting.for_mission cache without cache enabled queries DB each time Failure/Error: expect { 3.times { Setting.for_mission(nil) } }.to make_database_queries(count: 3) expected 3 queries, but 0 were made
Tests: spec/searchers/responses_searcher_spec.rb#L201
ResponsesSearcher question qualifier should handle translations Failure/Error: expect(searcher(%({#{codes[2]}}:chat))).to have_filter_data( qings: [{id: form.c[2].id, option_node_id: node3.id, option_node_value: "chat"}] ) expected [[{:id=>"4fc18fb9-6014-4e21-8816-9ac8547f0f5a", :option_node_id=>nil, :option_node_value=>"chat"}], ""] to have filter data {:advanced_text=>"", :qings=>[{:id=>"4fc18fb9-6014-4e21-8816-9ac8547f0f5a", :option_node_id=>"7924c99e-8b64-4cb4-a7fa-774d478d0280", :option_node_value=>"chat"}]} Diff: @@ -1,3 +1,5 @@ -:advanced_text => "", -:qings => [{:id=>"4fc18fb9-6014-4e21-8816-9ac8547f0f5a", :option_node_id=>"7924c99e-8b64-4cb4-a7fa-774d478d0280", :option_node_value=>"chat"}], +[[{:id=>"4fc18fb9-6014-4e21-8816-9ac8547f0f5a", + :option_node_id=>nil, + :option_node_value=>"chat"}], + ""]
Tests
Process completed with exit code 1.
Tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests: app/javascript/components/Filters/model.js#L133
Unexpected console statement
Tests: app/javascript/packs/enketo.js#L43
Unexpected console statement
Tests: app/javascript/packs/enketo.js#L57
Unexpected alert
Tests: app/javascript/packs/enketo.js#L80
Unexpected console statement
Tests: app/javascript/packs/enketo.js#L91
Unexpected alert
Tests: app/javascript/packs/enketo.js#L94
Unexpected console statement
Tests: spec/models/broadcaster_spec.rb#L16
Sms::Broadcaster with adapter set in mission settings builds appropriate adapter and Sms::Broadcast instance Skipped: Temporarily skipped with xit
Tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/