Skip to content
This repository was archived by the owner on Jun 22, 2020. It is now read-only.
This repository was archived by the owner on Jun 22, 2020. It is now read-only.

Create Tests scenarios for Visa Eligibility. #341

@JacOng17

Description

@JacOng17

Existing test scenarios cover different arrangements of movements for a client, but they all assume that each movement is associated with a visa which is eligible for indefinite leave to remain.

We need to create more tests which confirm that if the client doesn't hold an indefinite visa their movements will not count towards their eligibility calculation

In particular

  • test movements which would satisfy the eligibility calculation except that they are not during the period of an indefinite visa
  • test that if a client holds an indefinite visa for a sufficient number of days they will not be approved unless they also have movements which show they were present
  • Test cases where visas overlap - if a visa expires but another indefinite visa exists, the client should continue to be eligible until all visas have expired.
  • Test that if a client holds a finite visa as well as an indefinite visa the finite visa does not reduce their eligibility
  • Test that if a client enters on a finite visa but holds or later gains an indefinite visa their movement is still counted towards eligibility
  • Test that indefinite visas count towards eligibility on the day they expire

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions