Skip to content

Bump express from 4.18.2 to 4.19.2 in /lib/enketo-transformer-service #908

Bump express from 4.18.2 to 4.19.2 in /lib/enketo-transformer-service

Bump express from 4.18.2 to 4.19.2 in /lib/enketo-transformer-service #908

Status Failure
Total duration 26m 28s
Artifacts

tests.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 13 warnings
Tests: spec/features/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=123.0.6312.58)
Tests: spec/features/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=123.0.6312.58)
Tests: spec/features/responses/odata_export_spec.rb#L17
responses odata export exporting odata Failure/Error: page.driver.browser.execute_cdp( "Browser.grantPermissions", origin: page.server_url, permissions: %w[clipboardReadWrite clipboardSanitizedWrite] ) NoMethodError: undefined method `execute_cdp' for #<Selenium::WebDriver::Chrome::Driver:0x..f80987ddc1287cfd0 browser=:"chrome-headless-shell"> page.driver.browser.execute_cdp( ^^^^^^^^^^^^ Did you mean? execute_script
Tests: spec/features/responses/enketo_spec.rb#L65
enketo form rendering and submission happy path edits existing response Failure/Error: expect(page).not_to have_css("#glb-load-ind") Selenium::WebDriver::Error::UnexpectedAlertOpenError: unexpected alert open: {Alert text : Error submitting form: 422 Unprocessable Entity} (Session info: chrome-headless-shell=123.0.6312.58)
Tests: spec/features/responses/enketo_spec.rb#L118
enketo form rendering and submission skip logic works even when editing retroactively Failure/Error: expect(page).not_to have_css("#glb-load-ind") Selenium::WebDriver::Error::UnexpectedAlertOpenError: unexpected alert open: {Alert text : Error submitting form: 422 Unprocessable Entity} (Session info: chrome-headless-shell=123.0.6312.58)
Tests: spec/features/forms/form/printable_spec.rb#L37
forms print from form edit page behaves like shows tips and prints with shown flag set should not show tip Failure/Error: expect(page).to have_css("#glb-load-ind") expected to find visible css "#glb-load-ind" but there were no matches. Also found "", which matched the selector but not all filters. Shared Example Group: "shows tips and prints" called from ./spec/features/forms/form/printable_spec.rb:62
Tests: spec/features/forms/form/printable_spec.rb#L37
forms print from index behaves like shows tips and prints with shown flag set should not show tip Failure/Error: expect(page).to have_css("#glb-load-ind") expected to find visible css "#glb-load-ind" but there were no matches. Also found "", which matched the selector but not all filters. Shared Example Group: "shows tips and prints" called from ./spec/features/forms/form/printable_spec.rb:52
Tests: spec/features/forms/form/printable_spec.rb#L37
forms print from form show page behaves like shows tips and prints with shown flag set should not show tip Failure/Error: expect(page).to have_css("#glb-load-ind") expected to find visible css "#glb-load-ind" but there were no matches. Also found "", which matched the selector but not all filters. Shared Example Group: "shows tips and prints" called from ./spec/features/forms/form/printable_spec.rb:57
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/