Skip to content

fix some linting issues #944

fix some linting issues

fix some linting issues #944

Triggered via push June 5, 2024 16:14
Status Failure
Total duration 19m 11s
Artifacts

tests.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 13 warnings
Tests: spec/system/forms/form/form_status_and_version_spec.rb#L24
form status and version display and changes changing status and version via edit page Failure/Error: expect(page).to have_field("override", text: "") Selenium::WebDriver::Error::JavascriptError: javascript error: {"status":32,"value":"Unable to locate an element with the xpath expression (.//*[self::input | self::textarea | self::select][not((((./@type = 'submit') or (./@type = 'image')) or (./@type = 'hidden')))][((((./@id = 'override') or (./@name = 'override')) or (./@Placeholder = 'override')) or (./@id = //label[contains(normalize-space(string(.)), 'override')]/@for))] | .//label[contains(normalize-space(string(.)), 'override')]//.//*[self::input | self::textarea | self::select][not((((./@type = 'submit') or (./@type = 'image')) or (./@type = 'hidden')))])[] because of the following error:\nSyntaxError: Failed to execute 'evaluate' on 'Document': The string '(.//*[self::input | self::textarea | self::select][not((((./@type = 'submit') or (./@type = 'image')) or (./@type = 'hidden')))][((((./@id = 'override') or (./@name = 'override')) or (./@Placeholder = 'override')) or (./@id = //label[contains(normalize-space(string(.)), 'override')]/@for))] | .//label[contains(normalize-space(string(.)), 'override')]//.//*[self::input | self::textarea | self::select][not((((./@type = 'submit') or (./@type = 'image')) or (./@type = 'hidden')))])[]' is not a valid XPath expression."} (Session info: chrome-headless-shell=125.0.6422.112) [Screenshot Image]: /home/runner/work/nemo/nemo/tmp/capybara/failures_r_spec_example_groups_form_status_and_version_display_and_changes_changing_status_and_version_via_edit_page_667.png
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/system/responses/location_picker_spec.rb#L25
response form location picker picking a location Failure/Error: click_link("Joe Batt's Arm", match: :first) Selenium::WebDriver::Error::UnexpectedAlertOpenError: unexpected alert open: {Alert text : Search Error} (Session info: chrome-headless-shell=125.0.6422.112) [Screenshot Image]: /home/runner/work/nemo/nemo/tmp/capybara/failures_r_spec_example_groups_response_form_location_picker_picking_a_location_968.png
Tests
Process completed with exit code 1.
Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2, actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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/