I'm writing tests for a feature where people can either scan a code or type it in. Either way, the code goes to a backend for validation. I'm writing tests to validate that, for a given code, the screen does the expected thing. Should I write the same tests using both ways, or would just once be sufficient?