Skip to content

Conversation

@niklashigi
Copy link
Member

@niklashigi niklashigi commented Dec 19, 2025

Note

Adds coverage for the employee form-based create flow.

  • New tests/test_employee_form_flow.py with two tests: get_employee_form (GET \v1\hris\employees\form) and create_employee_with_form (POST \v1\hris\employees\form)
  • Validates returned form properties (e.g., firstName, keyNumbers, nested workLocation.site) and confirms empty warnings
  • Verifies successful creation response fields (id, remote_id, prehire.remote_id) and snapshots the serialized request properties payload
  • Uses MockContext and inline_snapshot for endpoint mocking and request body assertion

Written by Cursor Bugbot for commit 2058c17. This will update automatically on new commits. Configure here.

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.

2 participants