fix factories specs #2859
Annotations
10 errors and 9 warnings
Build and run tests:
spec/acceptance/application_form_creation.feature#L6
Creating application forms I see application links on dashboard Given settings with submission deadlines exists -> And I am eligible user -> When I go to dashboard -> Then I should see application link
Failure/Error: start.update_column(:trigger_at, Time.zone.now - 20.days)
NoMethodError:
undefined method `update_column' for nil:NilClass
|
Build and run tests:
spec/acceptance/application_form_creation.feature#L10
Creating application forms I'm able to create nomination Given settings with submission deadlines exists -> And I am eligible user -> When I create nomination -> Then I should see nomination form -> And I should see application edit link on dashboard
Failure/Error: start.update_column(:trigger_at, Time.zone.now - 20.days)
NoMethodError:
undefined method `update_column' for nil:NilClass
|
Build and run tests:
spec/support/shared_contexts/appraisal_form_context.rb#L10
Admin submits appraisal form
As Admin
I want to be able to edit, submit the appraisal form.
behaves like successful appraisal form edition Evaluation change updates the evaluation rate and description
Failure/Error: click_button "Save"
Capybara::ElementNotFound:
Unable to find visible button "Save" that is not disabled within #<Capybara::Node::Element tag="div" path="/HTML/BODY[1]/DIV[5]/DIV[1]/DIV[1]/MAIN[1]/DIV[1]/DIV[2]/DIV[2]/DIV[3]/DIV[2]/FORM[1]/DIV[1]">
Shared Example Group: "successful appraisal form edition" called from ./spec/features/admin/form_answers/appraisal_form_submission_spec.rb:15
|
Build and run tests:
spec/support/shared_contexts/appraisal_form_context.rb#L16
Admin submits appraisal form
As Admin
I want to be able to edit, submit the appraisal form.
behaves like successful appraisal form edition Overall verdict change updates verdict
Failure/Error: click_button "Save"
Capybara::ElementNotFound:
Unable to find visible button "Save" that is not disabled within #<Capybara::Node::Element tag="div" path="/HTML/BODY[1]/DIV[5]/DIV[1]/DIV[1]/MAIN[1]/DIV[1]/DIV[2]/DIV[2]/DIV[3]/DIV[2]/FORM[1]/DIV[5]">
Shared Example Group: "successful appraisal form edition" called from ./spec/features/admin/form_answers/appraisal_form_submission_spec.rb:15
|
Build and run tests:
spec/support/shared_contexts/appraisal_form_context.rb#L23
Admin submits appraisal form
As Admin
I want to be able to edit, submit the appraisal form.
behaves like successful appraisal form edition submission fills in the form and submits
Failure/Error: click_button "Save"
Capybara::ElementNotFound:
Unable to find visible button "Save" that is not disabled within #<Capybara::Node::Element tag="div" path="/HTML/BODY[1]/DIV[5]/DIV[1]/DIV[1]/MAIN[1]/DIV[1]/DIV[2]/DIV[2]/DIV[3]/DIV[2]/FORM[1]/DIV[1]">
Shared Example Group: "successful appraisal form edition" called from ./spec/features/admin/form_answers/appraisal_form_submission_spec.rb:15
|
Build and run tests:
spec/features/admin/form_answers/bulk_assessors_assignment_spec.rb#L23
Admin assigns assessors
As Admin
I want to be able to assign national assessor sub-gruops
Form submission assigns assessors
Failure/Error: first("#check_all").set(true)
Capybara::ExpectationNotMet:
expected to find visible css "#check_all" at least 1 time but there were no matches. Also found "", which matched the selector but not all filters.
|
Build and run tests:
spec/features/admin/form_answers/bulk_lieutenants_assignment_spec.rb#L25
Admin assigns lieutenants
As Admin
I want to be able to assign lieutenants
Form submission assigns the lieutenant
Failure/Error: first("#check_all").set(true)
Capybara::ExpectationNotMet:
expected to find visible css "#check_all" at least 1 time but there were no matches. Also found "", which matched the selector but not all filters.
|
Build and run tests:
spec/features/admin/form_answers/eligibility_spec.rb#L28
Admin edits eligibility status As an admin I can mark a nominator as ineligible
Failure/Error:
within ".nominator-ineligible-reasons" do
choose "No good knowledge of the group’s work", allow_label_click: true
end
Capybara::ElementNotFound:
Unable to find visible css ".nominator-ineligible-reasons"
|
Build and run tests:
spec/features/admin/form_answers/eligibility_spec.rb#L42
Admin edits eligibility status As an admin I can mark a group as ineligible
Failure/Error:
within ".group-ineligible-reasons" do
choose "Led by paid staff", allow_label_click: true
end
Capybara::ElementNotFound:
Unable to find visible css ".group-ineligible-reasons"
|
Build and run tests:
spec/features/admin/form_answers/final_verdict_spec.rb#L11
Adding final verdict is unavaliable when nomination is not ready
Failure/Error: start.update_column(:trigger_at, Time.zone.now - 25.days)
NoMethodError:
undefined method `update_column' for nil:NilClass
|
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/
|
Build and run tests:
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).
|
Build and run tests:
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).
|
Build and run tests:
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).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]
|
Build and run tests:
spec/validators/advanced_email_validator_spec.rb#L49
AdvancedEmailValidator allows correct e-mail addresses
|
Build and run tests:
spec/validators/advanced_email_validator_spec.rb#L61
AdvancedEmailValidator DNS checks for domain checks for the existence of an MX record for the domain
|
Build and run tests:
spec/validators/advanced_email_validator_spec.rb#L70
AdvancedEmailValidator DNS checks for domain doesn't return an error when the MX lookup timed out
|
Build and run tests:
spec/validators/advanced_email_validator_spec.rb#L95
AdvancedEmailValidator bounced addresses prevents validation on an e-mail address marked as bounced in sendgrid
|
Get yarn cache directory path
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/
|
The logs for this run have expired and are no longer available.
Loading