tweak test setup #941
Annotations
5 errors and 13 warnings
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=>"282a9d84-bd18-4cd2-8d7b-9c3051b09d49", :option_node_id=>nil, :option_node_value=>"chat"}], ""] to have filter data {:advanced_text=>"", :qings=>[{:id=>"282a9d84-bd18-4cd2-8d7b-9c3051b09d49", :option_node_id=>"c4fbe49e-b747-4e24-a057-126f6581385d", :option_node_value=>"chat"}]}
Diff:
@@ -1,3 +1,5 @@
-:advanced_text => "",
-:qings => [{:id=>"282a9d84-bd18-4cd2-8d7b-9c3051b09d49", :option_node_id=>"c4fbe49e-b747-4e24-a057-126f6581385d", :option_node_value=>"chat"}],
+[[{:id=>"282a9d84-bd18-4cd2-8d7b-9c3051b09d49",
+ :option_node_id=>nil,
+ :option_node_value=>"chat"}],
+ ""]
|
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_416.png
|
Tests:
spec/system/responses/csv_export_spec.rb#L153
responses csv export bulk media download No space on disk for bulk media export Should see an error
Failure/Error: allow(Sys::Filedescribe).to receive(:stat).and_return(stub)
NameError:
uninitialized constant Sys::Filedescribe
allow(Sys::Filedescribe).to receive(:stat).and_return(stub)
^^^^^^^^^^^^^^
Did you mean? FileTest
[Screenshot Image]: /home/runner/work/nemo/nemo/tmp/capybara/failures_r_spec_example_groups_responses_csv_export_bulk_media_download_no_space_on_disk_for_bulk_media_export_should_see_an_error_792.png
|
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_850.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/components/conditions/ConditionSetFormField/ConditionFormField/component.js#L69
Unexpected console statement
|
Tests:
app/javascript/components/conditions/ConditionSetFormField/ConditionFormField/component.js#L112
Unexpected console statement
|
Tests:
app/javascript/components/conditions/ConditionSetFormField/ConditionFormField/model.js#L148
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/
|