Couple of things going on here.
- the button is set to be disabled when agoraPartialTokenQty and agoraPartialMin are '0', but actually these values are empty strings on load (when the test was first written, they were '0').
- Possible race condition depending on when state variables are set, perhaps the button is briefly enabled before it is disabled. Resolve with waitFor which is standard method of testing async behavior in react.