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

Refactor test data form fields #3129

Merged
merged 5 commits into from Mar 23, 2023
Merged

Refactor test data form fields #3129

merged 5 commits into from Mar 23, 2023

Conversation

aatkin
Copy link
Collaborator

@aatkin aatkin commented Mar 3, 2023

Extract test data form fields into separate (def)s, and make example field groups more explicit (e.g. conditional field with select).

Checklist for author

Remove items that aren't applicable, check items that are done.

Follow-up

  • New tasks are created for pending or remaining tasks

src/clj/rems/service/test_data.clj Outdated Show resolved Hide resolved
Test data creates example form with all fields, which contains all normal fields plus special fields that are a combination of normal fields with options. All form fields are now defined separately, and example form with all fields is now more explicit.
@aatkin aatkin marked this pull request as ready for review March 23, 2023 12:46
@aatkin aatkin merged commit 67ce499 into master Mar 23, 2023
1 check passed
@aatkin aatkin deleted the anssi/refactor-test-data branch March 23, 2023 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants