Skip to content

Dont show inactive households to non-admins #822

Dont show inactive households to non-admins

Dont show inactive households to non-admins #822

Triggered via push August 13, 2024 11:45
Status Failure
Total duration 25m 32s
Artifacts 1

tests.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 3 warnings
Tests: spec/support/contexts/policies/scopes.rb#L23
HouseholdPolicy scope administerable behaves like permits only admins in community behaves like all cluster objects visible to cluster admin is expected to contain exactly #<Household id: 3297, alternate_id: nil, cluster_id: 1850, community_id: 2324, created_at: "2024-08-1..."Household3354", unit_num: nil, unit_suffix: nil, updated_at: "2024-08-13 11:59:04.421408242 +0000">, #<Household id: 3298, alternate_id: nil, cluster_id: 1850, community_id: 2324, created_at: "2024-08-1..."Household3355", unit_num: nil, unit_suffix: nil, updated_at: "2024-08-13 11:59:04.545945851 +0000">, #<Household id: 3299, alternate_id: nil, cluster_id: 1850, community_id: 2324, created_at: "2024-08-1..."Household3356", unit_num: nil, unit_suffix: nil, updated_at: "2024-08-13 11:59:04.668991658 +0000">, #<Household id: 3300, alternate_id: nil, cluster_id: 1850, community_id: 2324, created_at: "2024-08-1..."Household3357", unit_num: nil, unit_suffix: nil, updated_at: "2024-08-13 11:59:04.796092518 +0000">, and #<Household id: 3301, alternate_id: nil, cluster_id: 1850, community_id: 2325, created_at: "2024-08-1..."Household3358", unit_num: nil, unit_suffix: nil, updated_at: "2024-08-13 11:59:04.934254954 +0000"> Failure/Error: it { is_expected.to match_array(objs_in_community + objs_in_cluster) } expected collection contained: [#<Household id: 3297, alternate_id: nil, cluster_id: 1850, community_id: 2324, created_at: "2024-08-...Household3358", unit_num: nil, unit_suffix: nil, updated_at: "2024-08-13 11:59:04.934254954 +0000">] actual collection contained: [#<Household id: 3297, alternate_id: nil, cluster_id: 1850, community_id: 2324, created_at: "2024-08-...Household3359", unit_num: nil, unit_suffix: nil, updated_at: "2024-08-13 11:59:05.055108000 +0000">] the extra elements were: [#<Household id: 3302, alternate_id: nil, cluster_id: 1850, community_id: 2324, created_at: "2024-08-...Household3359", unit_num: nil, unit_suffix: nil, updated_at: "2024-08-13 11:59:05.055108000 +0000">] Shared Example Group: "all cluster objects visible to cluster admin" called from ./spec/support/contexts/policies/scopes.rb:41 Shared Example Group: "permits only admins in community" called from ./spec/policies/household_policy_spec.rb:207
Tests: spec/support/contexts/policies/scopes.rb#L45
HouseholdPolicy scope administerable behaves like permits only admins in community for admins is expected to contain exactly #<Household id: 3303, alternate_id: nil, cluster_id: 1851, community_id: 2326, created_at: "2024-08-1..."Household3360", unit_num: nil, unit_suffix: nil, updated_at: "2024-08-13 11:59:05.217265604 +0000">, #<Household id: 3304, alternate_id: nil, cluster_id: 1851, community_id: 2326, created_at: "2024-08-1..."Household3361", unit_num: nil, unit_suffix: nil, updated_at: "2024-08-13 11:59:05.334851314 +0000">, #<Household id: 3305, alternate_id: nil, cluster_id: 1851, community_id: 2326, created_at: "2024-08-1..."Household3362", unit_num: nil, unit_suffix: nil, updated_at: "2024-08-13 11:59:05.463538746 +0000">, and #<Household id: 3306, alternate_id: nil, cluster_id: 1851, community_id: 2326, created_at: "2024-08-1..."Household3363", unit_num: nil, unit_suffix: nil, updated_at: "2024-08-13 11:59:05.591887002 +0000"> Failure/Error: it { is_expected.to match_array(objs_in_community) } expected collection contained: [#<Household id: 3303, alternate_id: nil, cluster_id: 1851, community_id: 2326, created_at: "2024-08-...Household3363", unit_num: nil, unit_suffix: nil, updated_at: "2024-08-13 11:59:05.591887002 +0000">] actual collection contained: [#<Household id: 3303, alternate_id: nil, cluster_id: 1851, community_id: 2326, created_at: "2024-08-...Household3365", unit_num: nil, unit_suffix: nil, updated_at: "2024-08-13 11:59:05.865296000 +0000">] the extra elements were: [#<Household id: 3308, alternate_id: nil, cluster_id: 1851, community_id: 2326, created_at: "2024-08-...Household3365", unit_num: nil, unit_suffix: nil, updated_at: "2024-08-13 11:59:05.865296000 +0000">] Shared Example Group: "permits only admins in community" called from ./spec/policies/household_policy_spec.rb:207
Tests: spec/support/contexts/photo_upload_spec_context.rb#L5
calendars with calendars behaves like photo upload widget delete photo Failure/Error: accept_alert { visit(edit_path) } Capybara::ModalNotFound: Unable to find modal dialog [Screenshot Image]: /home/runner/work/gather/gather/tmp/capybara/failures_r_spec_example_groups_calendars_with_calendars_behaves_like_photo_upload_widget_delete_photo_100.png Shared Example Group: "photo upload widget" called from ./spec/system/calendars/calendars_spec.rb:36
Tests: spec/system/nav_menu_spec.rb#L23
nav menu when visiting page on subdomain basic no customizations Failure/Error: expect(all(".main-nav ul.nav li a").map { |e| [e.text, e["href"]] }).to eql(match) expected: [["People", "http://foo.gatherdev.org:31337/users"], ["Groups", "http://foo.gatherdev.org:31337/group...["Wiki", "http://foo.gatherdev.org:31337/wiki"], ["Files", "http://foo.gatherdev.org:31337/gdrive"]] got: [["People", "http://foo.gatherdev.org:31337/users"], ["Groups", "http://foo.gatherdev.org:31337/group..."http://foo.gatherdev.org:31337/calendars/events"], ["Wiki", "http://foo.gatherdev.org:31337/wiki"]] (compared using eql?)
Tests: spec/system/nav_menu_spec.rb#L40
nav menu when visiting page on subdomain changes change one link, disable one, add another Failure/Error: expect(all(".main-nav ul.nav li a").map { |e| [e.text, e["href"]] }).to eql(match) expected: [["People", "http://foo.gatherdev.org:31337/users"], ["Groups", "http://foo.gatherdev.org:31337/group...ikipedia.org"], ["Files", "http://foo.gatherdev.org:31337/gdrive"], ["Google", "http://google.com"]] got: [["People", "http://foo.gatherdev.org:31337/users"], ["Groups", "http://foo.gatherdev.org:31337/group...therdev.org:31337/work/signups"], ["Wiki", "http://wikipedia.org"], ["Google", "http://google.com"]] (compared using eql?)
Tests: spec/support/contexts/photo_upload_spec_context.rb#L5
user form as admin behaves like photo upload widget delete photo Failure/Error: accept_alert { visit(edit_path) } Capybara::ModalNotFound: Unable to find modal dialog [Screenshot Image]: /home/runner/work/gather/gather/tmp/capybara/failures_r_spec_example_groups_user_form_as_admin_behaves_like_photo_upload_widget_delete_photo_577.png Shared Example Group: "photo upload widget" called from ./spec/system/people/user_form_spec.rb:57
Tests: spec/system/work/period_spec.rb#L93
periods priority star works and persisted after save Failure/Error: dismiss_confirm { page.go_back } Capybara::ModalNotFound: Unable to find modal dialog [Screenshot Image]: /home/runner/work/gather/gather/tmp/capybara/failures_r_spec_example_groups_periods_priority_star_works_and_persisted_after_save_916.png
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. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/cache@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "screnshots". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
screnshots
422 KB