Skip to content

partially revert upgrade to selenium-webdriver to avoid prod crash #860

partially revert upgrade to selenium-webdriver to avoid prod crash

partially revert upgrade to selenium-webdriver to avoid prod crash #860

Triggered via push February 1, 2024 23:47
Status Failure
Total duration 31m 36s
Artifacts

tests.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 13 warnings
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:0x30f34558addc5524 browser=:"chrome-headless-shell"> page.driver.browser.execute_cdp( ^^^^^^^^^^^^ Did you mean? execute_script
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=121.0.6167.85)
Tests: spec/models/itemsets_form_attachment_spec.rb#L148
ODK::ItemsetsFormAttachment generate! for muliple languages should build file with translations where available and fallback to English where not Failure/Error: expect(csv).to eq(prepare_itemset_expectation("multiple_languages.csv", form)) expected: "list_name,name,label::English,label::Français,parent_id\nos399581ba-6432-4a89-8424-3401068186cb,on4a...401068186cb,onf87214f4-781e-438f-b8f5-be4f572ee01b,Oak,Oak,on3044480a-24bc-4121-8379-381e828a8b97\n" got: "list_name,name,label::English,parent_id\nos399581ba-6432-4a89-8424-3401068186cb,on4aff3e15-c513-41f9...24-3401068186cb,onf87214f4-781e-438f-b8f5-be4f572ee01b,Oak,on3044480a-24bc-4121-8379-381e828a8b97\n" (compared using ==) Diff: @@ -1,8 +1,8 @@ -list_name,name,label::English,label::Français,parent_id -os399581ba-6432-4a89-8424-3401068186cb,on4aff3e15-c513-41f9-b164-bf1e8b34d96f,Animal,Animale, -os399581ba-6432-4a89-8424-3401068186cb,onec57607b-3129-4e33-8f9e-9409a3517e2f,Cat,Cat,on4aff3e15-c513-41f9-b164-bf1e8b34d96f -os399581ba-6432-4a89-8424-3401068186cb,on3e231636-9c33-4557-9eaa-d10525506659,Dog,Dog,on4aff3e15-c513-41f9-b164-bf1e8b34d96f -os399581ba-6432-4a89-8424-3401068186cb,on3044480a-24bc-4121-8379-381e828a8b97,Plant,Plante, -os399581ba-6432-4a89-8424-3401068186cb,on1684b5dc-f2fa-485b-8192-424147c99328,Tulip,Tulip,on3044480a-24bc-4121-8379-381e828a8b97 -os399581ba-6432-4a89-8424-3401068186cb,onf87214f4-781e-438f-b8f5-be4f572ee01b,Oak,Oak,on3044480a-24bc-4121-8379-381e828a8b97 +list_name,name,label::English,parent_id +os399581ba-6432-4a89-8424-3401068186cb,on4aff3e15-c513-41f9-b164-bf1e8b34d96f,Animal, +os399581ba-6432-4a89-8424-3401068186cb,onec57607b-3129-4e33-8f9e-9409a3517e2f,Cat,on4aff3e15-c513-41f9-b164-bf1e8b34d96f +os399581ba-6432-4a89-8424-3401068186cb,on3e231636-9c33-4557-9eaa-d10525506659,Dog,on4aff3e15-c513-41f9-b164-bf1e8b34d96f +os399581ba-6432-4a89-8424-3401068186cb,on3044480a-24bc-4121-8379-381e828a8b97,Plant, +os399581ba-6432-4a89-8424-3401068186cb,on1684b5dc-f2fa-485b-8192-424147c99328,Tulip,on3044480a-24bc-4121-8379-381e828a8b97 +os399581ba-6432-4a89-8424-3401068186cb,onf87214f4-781e-438f-b8f5-be4f572ee01b,Oak,on3044480a-24bc-4121-8379-381e828a8b97
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 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 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, nanasess/setup-chromedriver@master. 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/