Add online checks to pre interview checks.#8444
Conversation
8fe2911 to
04017a5
Compare
04017a5 to
95d4ba0
Compare
390664e to
9aa9ab0
Compare
|
Review app deployed to https://teaching-vacancies-review-pr-8444.test.teacherservices.cloud on AKS |
d34d23b to
10be9a3
Compare
| = f.govuk_radio_buttons_fieldset :online_checks, legend: { text: t(".question"), size: "m" } do | ||
| = f.govuk_radio_button :online_checks, :yes, label: { text: t(".yes") } | ||
| = f.govuk_radio_button :online_checks, :no, label: { text: t(".no") } |
There was a problem hiding this comment.
There is a standard location for these which we are now doing a lot of. Might be worth using it? (online_checks_options with values yes, no and no_doing).
| before_action :set_job_application | ||
|
|
||
| def edit | ||
| @notes_form = Publishers::JobApplication::NotesForm.new |
There was a problem hiding this comment.
I have removed notes_form in a notes_refactor Pr - might be worth re-basing on that? Turns out that was a bit faulty - correct way to make a note is @job_application.notes.build so that note has association back to job_applicaiton
| = f.govuk_submit t(".save_and_update") | ||
|
|
||
| .govuk-grid-column-one-third | ||
| = render PublisherNotesOnJobApplicationComponent.new(job_application: @job_application, vacancy: @vacancy, notes_form: @notes_form, |
There was a problem hiding this comment.
I have changed this so we use a method rather than instantiating the class. There is a notes refactor branch, I will put those changes into that branch so that you can use them
| expect(publisher_ats_pre_interview_checks_page).to be_displayed | ||
| # This now includes the self disclosure | ||
| expect(publisher_ats_pre_interview_checks_page.reference_links.count).to eq(3) | ||
| expect(publisher_ats_pre_interview_checks_page.reference_links.count).to eq(4) |
There was a problem hiding this comment.
might be good to add a better comment explaining the count - my original is a bit lacking :-)
10be9a3 to
f4ebf5c
Compare
f218598 to
bd411e7
Compare
Trello card URL
https://trello.com/c/b6NtBOsO/2391-add-online-checks-to-pre-interview-checks-tab
Changes in this PR:
This PR adds online checks to the pre-interview checks and allows hiring staff to record whether or not they have performed online checks on the applicant.
Screenshots of UI changes:
Before
After
Checklists:
Data & Schema Changes
If this PR modifies data structures or validations, check the following:
If any of the above options has changed then the author must check/resolve all of the following...
Integration Impact
Does this change affect any of these integrations?
User Experience & Data Integrity
Could this change impact: