Careful, this could be a problem: below, in the getByLabel of (old) line 117, you used only the label of the InputTag, while here you will use the full InputTag with all fields (instance, etc). If the instance is different, it will not be found
Same thing for the next 2 lines