bulk assignment specs fixes #3131
Annotations
7 errors and 10 warnings
test:
spec/features/admin/form_answers/bulk_assessors_assignment_spec.rb#L24
Admin assigns assessors
As Admin
I want to be able to assign national assessor sub-gruops
Form submission assigns assessors
Failure/Error: expect(page).to have_content("Sub-group 9")
expected to find text "Sub-group 9" in "Cookies on King's Award for Voluntary Service\nWe use some essential cookies to make this service work.\nWe’d also like to use analytics cookies so we can understand how you use the service and make improvements.\nAccept analytics cookies\nReject analytics cookies\nView cookie settings\nSkip to main content\nGOV.UK\nKing's Award for Voluntary Service\nNominationsStatisticsUsersSettingsAccount detailsSign out\nBETA This is a new service – your feedback will help us to improve it.\nNotice\nGroups have been assigned to the national assessor sub-group.\nNominations\nSelect Award Year\nAward year: \n-1 - 0\nSearch\nStatus\nAll selected\nPost Submission Status\nType of group\nAll selected\nAddress county as per form\nAll selected\nLord Lieutenancy assigned\nAll selected\nRemove filters\nNominations list\nDownload nomination data CSV\nDownload local assessment data CSV\nDownload national assessment data CSV\nDownload group leader data CSV\nBulk actions: select groups from the list below and click an appropriate bulk action button.\nNominations list\nSelect for bulk action\nGroup name\nStatus Postcode Address county as per form Lord Lieutenancy assigned Type of group National assessor sub-group\nLast updated\nView\nNeed help? Email us at [email protected]\nSupport links\nHelpPrivacy StatementAccessibility StatementCookie PolicyCookie SettingsBuilt by the Department for Digital, Culture, Media & Sport\nAll content is available under the Open Government Licence v3.0, except where otherwise stated\n© Crown copyright"
|
test:
spec/features/admin/form_answers/bulk_lieutenants_assignment_spec.rb#L26
Admin assigns lieutenants
As Admin
I want to be able to assign lieutenants
Form submission assigns the lieutenant
Failure/Error: find(:css, "#modal-bulk-assign-lieutenants").should be_visible
Capybara::ElementNotFound:
Unable to find css "#modal-bulk-assign-lieutenants"
|
test:
spec/features/assessor/filtering_spec.rb#L26
As Assessor I want to filter applications filters by activity
Failure/Error: if search_params[:query].blank? && category_picker.show_award_tabs_for_assessor?
NoMethodError:
undefined method `[]' for nil:NilClass
|
test:
spec/features/assessor/filtering_spec.rb#L35
As Assessor I want to filter applications filters by ceremonial county
Failure/Error: if search_params[:query].blank? && category_picker.show_award_tabs_for_assessor?
NoMethodError:
undefined method `[]' for nil:NilClass
|
test:
spec/support/shared_contexts/form_answers_table_sorting.rb#L15
Form answer list sorting behaves like form answers table sorting Company/Nominee sorts by Company/Nominee header
Failure/Error: if search_params[:query].blank? && category_picker.show_award_tabs_for_assessor?
NoMethodError:
undefined method `[]' for nil:NilClass
Shared Example Group: "form answers table sorting" called from ./spec/features/assessor/list_sorting_spec.rb:22
|
test:
spec/forms/nominations_bulk_action_form_spec.rb#L5
NominationsBulkActionForm#valid? fails
Failure/Error: expect(true).to be_falsey
expected: falsey value
got: true
|
test
Process completed with exit code 1.
|
test
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@v2-beta. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2, actions/setup-node@v2-beta. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
test:
spec/controllers/assessor/reports_controller_spec.rb#L12
Assessor::ReportsController GET index
Failure/Error:
it "should render template" do
get :index
expect(response).to render_template("index")
end
`it` is not available from within an example (e.g. an `it` block) or from constructs that run in the scope of an example (e.g. `before`, `let`, etc). It is only available on an example group (e.g. a `describe` or `context` block).
|
test:
spec/controllers/assessor/reports_controller_spec.rb#L19
Assessor::ReportsController GET show
Failure/Error:
it "renders the show template" do
get :show, params: { id: 'feedbacks', category: 'trade' }, :format => 'pdf'
expect(response.content_type).to eq('application/pdf')
get :show, params: { id: 'case_summaries',category: 'trade' }, :format => 'csv'
expect(response.content_type).to eq('text/csv')
end
`it` is not available from within an example (e.g. an `it` block) or from constructs that run in the scope of an example (e.g. `before`, `let`, etc). It is only available on an example group (e.g. a `describe` or `context` block).
|
test:
spec/features/assessor/fulfills_the_draft_notes_spec.rb#L16
Assessor fulfills the draft notes. fulfills the draft notes form
Failure/Error: @form_answer ||= current_assessor.applications_scope(@award_year).includes(:assessor_assignments).find(params[:id]).decorate
ActiveRecord::RecordNotFound:
Couldn't find FormAnswer with 'id'=1 [WHERE "form_answers"."award_year_id" = $1 AND "form_answers"."state" IN ($2, $3, $4, $5, $6, $7, $8) AND "form_answers"."sub_group" = $9]
|
test:
spec/validators/advanced_email_validator_spec.rb#L49
AdvancedEmailValidator allows correct e-mail addresses
|
test:
spec/validators/advanced_email_validator_spec.rb#L61
AdvancedEmailValidator DNS checks for domain checks for the existence of an MX record for the domain
|
test:
spec/validators/advanced_email_validator_spec.rb#L70
AdvancedEmailValidator DNS checks for domain doesn't return an error when the MX lookup timed out
|
test:
spec/validators/advanced_email_validator_spec.rb#L95
AdvancedEmailValidator bounced addresses prevents validation on an e-mail address marked as bounced in sendgrid
|
test
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/
|