Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate undergraduate test applications #9876

Merged

Conversation

tomas-stefano
Copy link
Collaborator

@tomas-stefano tomas-stefano commented Sep 26, 2024

Context

Now that we have on our service postgraduate and undergraduate courses I am generating test application for the teacher degree apprenticeship program

Guidance to review

  1. Visit support interface
  2. Make sure sidekiq is running
  3. Enter tab "Setting" -> "Tasks"
  4. Click "Generate test applications"
  5. You will see undergraduate applications being created. ✌️

Now that we have on our service postgraduate and undergraduate courses
I am generating test application for the teacher degree apprenticeship
program
@tomas-stefano tomas-stefano added the deploy_v2 Deploy the review app to AKS label Sep 26, 2024
.in_cycle(recruitment_cycle_year)

if courses.count.zero?
provider = Provider.all.sample(10).sample || FactoryBot.create(:provider)
Copy link
Collaborator Author

@tomas-stefano tomas-stefano Sep 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't care what provider is created from those applications and at this point I suspect each developer has your own provider favorite that test locally or QA. Let me know if you have strong opinions about this.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tend to use provider code 1TZ becuase they have primary and secondary courses by default. Only saying as you asked.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@inulty-dfe I pushed one commit using the 1TZ as first try and if there isn't one, they will go to the next or statement and select at random.

@tomas-stefano
Copy link
Collaborator Author

@github-actions github-actions bot temporarily deployed to review_aks-9876 September 26, 2024 12:26 Destroyed
@github-actions github-actions bot temporarily deployed to review_aks-9876 September 26, 2024 12:38 Destroyed
@github-actions github-actions bot temporarily deployed to review_aks-9876 September 30, 2024 11:03 Destroyed
@tomas-stefano tomas-stefano merged commit 0fd8e7d into main Sep 30, 2024
59 checks passed
@tomas-stefano tomas-stefano deleted the 2354-tda-setup-the-right-courses-data-for-find-apply branch September 30, 2024 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deploy_v2 Deploy the review app to AKS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants